get_opentree_species: Get all species belonging to a taxon from the Open Tree of...

View source: R/get_species_from_ott.R

get_opentree_speciesR Documentation

Get all species belonging to a taxon from the Open Tree of Life Taxonomy (OTT)

Description

Get all species belonging to a taxon from the Open Tree of Life Taxonomy (OTT)

Usage

get_opentree_species(taxon_name, ott_id, synth_tree_only = TRUE)

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, taxon_name is ignored. Used in the context of OTT to detect invalid taxon names.

synth_tree_only

Whether to include species that are in the synthetic Open Tree of Life only or not. Default to TRUE.

Value

A list of unique OTT names and OTT ids of species within the provided taxon.


phylotastic/datelife documentation built on June 9, 2024, 6:50 p.m.