phylo2mst | R Documentation |
Converts a phylogenetic tree (class phylo
) into a
minimum spanning tree (class mst
).
phylo2mst(phy)
phy |
An object of class |
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.
phy <- rtree(12)
plot(phy)
mst <- phylo2mst(phy)
plot(mst)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.