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)

klarakaleb/roma documentation built on Nov. 11, 2020, 5:36 a.m.