Used to store taxon IDs, either arbitrary or from a taxonomy database. This is typically used to store taxon IDs in taxon() objects.
taxon()
taxon_id(id, database = NULL)
(character/integer/numeric) a taxonomic id, required
(database) database class object, optional
An R6Class object of class TaxonId
R6Class
TaxonId
Other classes: hierarchies, hierarchy, taxa, taxmap, taxon_database, taxon_name, taxon_rank, taxonomy, taxon
hierarchies
hierarchy
taxa
taxmap
taxon_database
taxon_name
taxon_rank
taxonomy
taxon
# NOT RUN { (x <- taxon_id(12345)) x$id x$database (x <- taxon_id( 12345, database_list$ncbi )) x$id x$database # a null taxon_name object taxon_name(NULL) # }
Run the code above in your browser using DataLab