View source: R/old_taxa--taxon_rank.R
| taxon_rank | R Documentation |
Stores the rank of a taxon. This is typically used to store where taxon information came from in [taxon()] objects.
taxon_rank(name, database = NULL)
name |
(character) rank name. required |
database |
(character) database class object, optional |
An 'R6Class' object of class 'TaxonRank'
Other classes:
hierarchies(),
hierarchy(),
taxa(),
taxmap(),
taxon(),
taxon_database(),
taxon_id(),
taxon_name(),
taxonomy()
taxon_rank("species")
taxon_rank("genus")
taxon_rank("kingdom")
(x <- taxon_rank(
"species",
database_list$ncbi
))
x$rank
x$database
# a null taxon_name object
taxon_name(NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.