check_topology {pureseqtmr} | R Documentation |
Check if the argument is of the same type as a predicted topology, as can be created with predict_topology. Will stop if not.
check_topology(topology)
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. |
Nothing. Will stop with a helpful error message if the topology is invalid.
Richèl J.C. Bilderbeek
if (is_pureseqtm_installed()) {
fasta_filename <- get_example_filename("1bhaA.fasta")
topology <- predict_topology(fasta_filename)
check_topology(topology)
}