Skip to contents

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.