View source: R/old_taxa--taxon_name.R
taxon_name | R Documentation |
Used to store the name of taxa. This is typically used to store where taxon names in [taxon()] objects.
taxon_name(name, database = NULL)
name |
(character) a taxonomic name. required |
database |
(character) database class object, optional |
An 'R6Class' object of class 'TaxonName'
Other classes:
hierarchies()
,
hierarchy()
,
taxa()
,
taxmap()
,
taxon_database()
,
taxon_id()
,
taxon_rank()
,
taxonomy()
,
taxon()
(poa <- taxon_name("Poa"))
(undef <- taxon_name("undefined"))
(sp1 <- taxon_name("species 1"))
(poa_annua <- taxon_name("Poa annua"))
(x <- taxon_name("Poa annua L."))
x$name
x$database
(x <- taxon_name(
"Poa annua",
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.