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)

DessimozLab/OmaDB documentation built on April 19, 2024, 9:54 p.m.