taxa_toss_binomials: Keep the first part of the binomial from a vector of taxon...

View source: R/taxa_toss_binomials.R

taxa_toss_binomialsR Documentation

Keep the first part of the binomial from a vector of taxon names that includes species binomial names

Description

Keep the first part of the binomial from a vector of taxon names that includes species binomial names

Usage

taxa_toss_binomials(taxa)

Arguments

taxa

A character vector of taxon names.

Value

A character vector of lineage names above the species level.

See Also

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

Examples

taxa_toss_binomials("Vulpes_vulpes")

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