taxa_get_otol_tree: Get OToL induced subtree

View source: R/findtrees.R

taxa_get_otol_treeR Documentation

Get OToL induced subtree

Description

Get OToL induced subtree

Usage

taxa_get_otol_tree(taxa)

Arguments

taxa

The vector of names, already resolved to match OToL taxa

Value

A phylo object

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 <- c("Crabronidae", "Ophiocordyceps", "Megalyridae",
          "Formica polyctena", "Tetramorium caespitum",
          "Pseudomyrmex", "Carebara diversa", "Formicinae")
phy <- taxa_get_otol_tree(taxa)
plot(phy)

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