Learn R Programming

rphylotastic (version 0.0.4)

taxa_get_otol_tree: 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

Run this code
# NOT RUN {
taxa <- c("Crabronidae", "Ophiocordyceps", "Megalyridae",
          "Formica polyctena", "Tetramorium caespitum",
          "Pseudomyrmex", "Carebara diversa", "Formicinae")
phy <- taxa_get_otol_tree(taxa)
plot(phy)
# }

Run the code above in your browser using DataLab