taxon_name

0th

Percentile

Taxon name class

Used to store the name of taxa. This is typically used to store where taxon names in taxon() objects.

Usage
taxon_name(name, database = NULL)
Arguments
name

(character) a taxonomic name. required

database

(character) database class object, optional

Value

An R6Class object of class TaxonName

See Also

Other classes: hierarchies, hierarchy, taxa, taxmap, taxon_database, taxon_id, taxon_rank, taxonomy, taxon

Aliases
  • taxon_name
Examples
# NOT RUN {
(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
# }
Documentation reproduced from package taxa, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.