classification {taxizedb} | R Documentation |
Retrieve the taxonomic hierarchies from local database
Description
This function is equivalent to the taxize::classification()
function,
except that it uses a local database (so is much faster). The output is
identical to taxize::classification()
Usage
classification(x, db = "ncbi", verbose = TRUE, ...)
Arguments
x |
character) Vector of taxon keys for the given database |
db |
character) The database to search, one of ncbi, itis, gbif, col, or wfo |
verbose |
(logical) Print verbose messages |
... |
Additional arguments passed to database specific classification functions. |
Value
list of data.frames with the columns: name, rank, and id. This is
exactly equivalent to the output of taxize::classification()
Examples
## Not run:
classification(c(3702, 9606))
classification(c(154395, 154357), db="itis")
classification(c("wfo-0000291463", "wfo-7000000057"), db="wfo")
classification(2878586, db="gbif")
classification(c(2878586, 2704179), db="gbif")
classification(3960765, db="col") # Abies
## End(Not run)
[Package taxizedb version 0.3.1 Index]