tax_rank | R Documentation |
Get rank for a given taxonomic name.
tax_rank(sci_id, db = NULL, rows = NA, x = NULL, ...)
sci_id |
(character) Vector of one or more taxon names (character) or
IDs (character or numeric) to query. Or objects returned from |
db |
(character) database to query. either |
rows |
numeric; Any number from 1 to infinity. If the default NA,
all rows are considered. passed down to |
x |
Deprecated, see |
... |
Additional arguments to |
A named list of character vectors with ranks (all lower-cased)
While tax_name()
returns the name of a specified
rank, tax_rank()
returns the actual rank of the taxon.
classification()
,tax_name()
## Not run:
tax_rank("Helianthus annuus", db = "itis")
tax_rank("Helianthus annuus", db = "natserv")
tax_rank(get_tsn("Helianthus annuus"))
tax_rank(c("Helianthus", "Pinus", "Poa"), db = "itis")
tax_rank(get_boldid("Helianthus annuus"))
tax_rank("421377", db = "bold")
tax_rank(421377, db = "bold")
tax_rank(c("Plantae", "Helianthus annuus",
"Puma", "Homo sapiens"), db = 'itis')
tax_rank(c("Helianthus annuus", "Quercus", "Fabaceae"), db = 'tropicos')
tax_rank(names_list("species"), db = 'gbif')
tax_rank(names_list("family"), db = 'gbif')
tax_rank(c("Gadus morhua", "Lichenopora neapolitana"),
db = "worms")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.