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 as returned by predict_topology |
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)
}