View source: R/ap_classification.R
classification | R Documentation |
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()
classification(x, db = "ncbi", verbose = TRUE, ...)
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. |
list of data.frames with the columns: name, rank, and id. This is
exactly equivalent to the output of taxize::classification()
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.