View source: R/itis_hierarchy.R
itis_hierarchy | R Documentation |
Get hierarchies from TSN values, full, upstream only, or immediate downstream only
itis_hierarchy(tsn, what = "full", ...)
tsn |
One or more TSN's (taxonomic serial number). Required. |
what |
One of full (full hierarchy), up (immediate upstream), or down (immediate downstream) |
... |
Further arguments passed on to |
Note that itis_downstream()
gets taxa downstream to a
particular rank, while this function only gets immediate names downstream.
itis_downstream()
## Not run:
# Get full hierarchy
itis_hierarchy(tsn=180543)
# Get hierarchy upstream
itis_hierarchy(tsn=180543, "up")
# Get hierarchy downstream
itis_hierarchy(tsn=180543, "down")
# Many tsn's
itis_hierarchy(tsn=c(180543,41074,36616))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.