phylo-to-TreeMan: Convert phylo to TreeMan

phylo-to-TreeManR Documentation

Convert phylo to TreeMan

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


library(ape)
tree <- compute.brlen(rtree(10))
tree <- as(tree, "TreeMan")

ropensci/phylotaR documentation built on July 9, 2023, 3:17 p.m.