View source: R/check_topology.R
check_topology | 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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.