phybase2phylo: Convert between phybase's modified newick and ape phylo

Description Usage Arguments Value Author(s) Examples

Description

This function converts a newick-like description used by phybase into a phylo object. Most phybase trees convert already, but those with population size information would not. Note that this deletes population size info.

Usage

1
phybase2phylo(x)

Arguments

x

a newick-like phybase description

Value

An ape phylo object

Author(s)

Brian O'Meara omeara.brian@gmail.com

Examples

1
2
tree <- "(((H:0.004#0.01,C:0.004#0.01):0.003#0.01,G:0.01#0.01):0.009#0.01,O:0.02#0.01)#0.01;"
phy <- phybase2phylo(tree)

bomeara/phybase documentation built on May 12, 2019, 11:35 p.m.