getTree: Get the Tree Object

Description Usage Arguments Value Examples

View source: R/getTree.R

Description

A convenience function to obtain a tree object from newick tree, essentially wraps read.tree from the ape package.

Usage

1
getTree(newick)

Arguments

newick

The newick tree to be instantiated.

Value

a tree object

Examples

1
2
taxonomy = getTaxonomy(root='Alveolata')
getTree(newick=taxonomy$newick)

OmaDB documentation built on Nov. 13, 2020, 2 a.m.