taxon_rank

0th

Percentile

Taxon rank class

Stores the rank of a taxon. This is typically used to store where taxon information came from in taxon() objects.

Usage
taxon_rank(name, database = NULL)
Arguments
name

(character) rank name. required

database

(character) database class object, optional

Value

An R6Class object of class TaxonRank

See Also

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

Aliases
  • taxon_rank
Examples
# NOT RUN {
taxon_rank("species")
taxon_rank("genus")
taxon_rank("kingdom")

(x <- taxon_rank(
  "species",
  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.