TreeMan-to-phylo: Convert TreeMan to phylo

TreeMan-to-phyloR Documentation

Convert TreeMan to phylo

Description

Return ape's phylo from a TreeMan. This will preserve node labels if they are different from the default labels (n#).

See Also

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

Examples


library(ape)
tree <- randTree(10)
tree <- as(tree, "phylo")

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