Used to store taxon IDs, either arbitrary or from a taxonomy database. This
is typically used to store taxon IDs in taxon()
objects.
taxon_id(id, database = NULL)
id | (character/integer/numeric) a taxonomic id, required |
---|---|
database | (database) database class object, optional |
An R6Class
object of class TaxonId
Other classes:
hierarchies()
,
hierarchy()
,
taxa()
,
taxmap()
,
taxon_database()
,
taxon_name()
,
taxon_rank()
,
taxonomy()
,
taxon()
(x <- taxon_id(12345))#> <TaxonId> 12345 #> database: nonex$id#> [1] 12345x$database#> NULL(x <- taxon_id( 12345, database_list$ncbi ))#> <TaxonId> 12345 #> database: ncbix$id#> [1] 12345x$database#> <database> ncbi #> url: http://www.ncbi.nlm.nih.gov/taxonomy #> description: NCBI Taxonomy Database #> id regex: .*#> <TaxonName> none #> database: none