phylo-to-TreeMan: Convert phylo to TreeMan

Description See Also Examples

Description

Return a TreeMan from ape's phylo. This will preserve node labels, if they are a alphanumeric.

See Also

TreeMan-to-phylo, TreeMen-to-multiPhylo multiPhylo-to-TreeMen TreeMan-class

Examples

1
2
3
4
library(treeman)
library(ape)
tree <- compute.brlen(rtree(10))
tree <- as(tree, 'TreeMan')

DomBennett/treeman documentation built on Nov. 12, 2020, 1:35 p.m.