get_all_descendant_species {datelife} | R Documentation |
Quickly get all species belonging to a taxon from the Open Tree of Life Taxonomy (OTT)
Description
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.
Usage
get_all_descendant_species(taxon_name, ott_id)
Arguments
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, |
Value
A list of unique OTT names and OTT ids of species within the provided taxon.
[Package datelife version 0.6.8 Index]