tax_db.taxa_classification {taxa} | R Documentation |
Set and get taxon ID databases
Description
Set and get the taxon ID databases in objects that have them, such as taxon_id objects.
Usage
## S3 method for class 'taxa_classification'
tax_db(x)
## S3 replacement method for class 'taxa_classification'
tax_db(x) <- value
tax_db(x)
tax_db(x) <- value
## S3 method for class 'taxa_taxon'
tax_db(x)
## S3 replacement method for class 'taxa_taxon'
tax_db(x) <- value
## S3 method for class 'taxa_taxon_id'
tax_db(x)
## S3 replacement method for class 'taxa_taxon_id'
tax_db(x) <- value
## S3 method for class 'taxa_taxonomy'
tax_db(x)
## S3 replacement method for class 'taxa_taxonomy'
tax_db(x) <- value
Arguments
x |
An object with taxon authority dates. |
value |
The taxon citations to set. Inputs will be coerced into a taxon_db vector. |
Examples
x <- taxon_id(c('9606', '1386', '4890', '4345'), db = 'ncbi')
tax_db(x)
tax_db(x) <- 'nbn'
tax_db(x)[2] <- 'itis'
[Package taxa version 0.4.3 Index]