getTree: Get the Tree Object

View source: R/getTree.R

getTreeR Documentation

Get the Tree Object

Description

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

Usage

getTree(newick)

Arguments

newick

The newick tree to be instantiated.

Value

a tree object

Examples

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

klarakaleb/roma documentation built on April 21, 2024, 8:39 a.m.