phylo2mst {ips} | R Documentation |
Conversion from PHYLO to MST Object
Description
Converts a phylogenetic tree (class phylo
) into a
minimum spanning tree (class mst
).
Usage
phylo2mst(phy)
Arguments
phy |
An object of class |
Details
The current version of phylo2mst
does not handle polytomies
and does not incorporate branch length information. Note that topological
information is lost during the conversion.
Examples
phy <- rtree(12)
plot(phy)
mst <- phylo2mst(phy)
plot(mst)
[Package ips version 0.0.12 Index]