createTree: Create taxonomy tree for a list of taxa

View source: R/getTree.R

createTreeR Documentation

Create taxonomy tree for a list of taxa

Description

Create taxonomy tree for a list of taxa

Usage

createTree(taxonList = NULL, outgroup = NULL)

Arguments

taxonList

list of taxonomy IDs

outgroup

a taxon used for rooting

Value

A taxonomy tree as a phylo object

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

Examples

taxonList <- c("Homo sapiens", "5207", "40674", "4751")
tree <- createTree(taxonList, "5207")
plot(tree)

trvinh/taxFun documentation built on July 3, 2023, 8:55 p.m.