View source: R/get_species_from_ott.R
get_all_descendant_species | R Documentation |
This is less thorough than get_open_tree_species(), but much faster. It uses the fact that something has just two names (genus and species) to assume that something is a single species; if it has more than two names, it is assumed to be a subspecies so it goes up one level in the hierarchy. It will return the subspecies and the species.
get_all_descendant_species(taxon_name, ott_id)
taxon_name |
A character vector providing an inclusive taxonomic name. |
ott_id |
A numeric vector providig an Open Tree Taxonomic id number for
a taxonomic name. If provided, |
A list of unique OTT names and OTT ids of species within the provided taxon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.