Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

itis_hierarchy

ITIS hierarchy


Description

Get hierarchies from TSN values, full, upstream only, or immediate downstream only

Usage

itis_hierarchy(tsn, what = "full", ...)

Arguments

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 ritis::hierarchy_full() ritis::hierarchy_up() or ritis::hierarchy_down()

Details

Note that itis_downstream() gets taxa downstream to a particular rank, while this function only gets immediate names downstream.

See Also

Examples

## 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)

taxize

Taxonomic Information from Around the Web

v0.9.100
MIT + file LICENSE
Authors
Scott Chamberlain [aut] (<https://orcid.org/0000-0003-1444-9135>), Eduard Szoecs [aut], Zachary Foster [aut, cre], Zebulun Arendsee [aut], Carl Boettiger [ctb], Karthik Ram [ctb], Ignasi Bartomeus [ctb], John Baumgartner [ctb], James O'Donnell [ctb], Jari Oksanen [ctb], Bastian Greshake Tzovaras [ctb], Philippe Marchand [ctb], Vinh Tran [ctb], Maëlle Salmon [ctb], Gaopeng Li [ctb], Matthias Grenié [ctb], rOpenSci [fnd] (https://ropensci.org/)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.