check_topology {pureseqtmr} | R Documentation |
Check if the topology is valid.
Description
Check if the argument is of the same type as a predicted topology, as can be created with predict_topology. Will stop if not.
Usage
check_topology(topology)
Arguments
topology |
the topology as a tibble with the columns 'name' and 'topology', where the 'name' column hold all the proteins' names, and 'topology' contains the respective topologies as strings. |
Value
Nothing. Will stop with a helpful error message if the topology is invalid.
Author(s)
Richèl J.C. Bilderbeek
Examples
if (is_pureseqtm_installed()) {
fasta_filename <- get_example_filename("1bhaA.fasta")
topology <- predict_topology(fasta_filename)
check_topology(topology)
}
[Package pureseqtmr version 1.4 Index]