taxon_get_species: Get all species from a taxon from Open Tree of Life taxonomy.

View source: R/getspecies.R

taxon_get_speciesR Documentation

Get all species from a taxon from Open Tree of Life taxonomy.

Description

Get all species from a taxon from Open Tree of Life taxonomy.

Usage

taxon_get_species(taxon, filters = c("environmental", "sp\\.", "cf\\."))

Arguments

taxon

A character vector of length 1. Specify the taxon name to get all species for. If vector is longer than 1, it will only take the first element and ignore all other names.

filters

A character vector of strings to exclude.

Value

A character vector of species names.

See Also

https://github.com/phylotastic/phylo_services_docs/tree/master/ServiceDescription or the rotl package, another interface to Open Tree of Life

Examples

print(taxon_get_species("Vulpes"))

phylotastic/rphylotastic documentation built on Aug. 22, 2023, 9:51 p.m.