phylo2mst: Conversion from PHYLO to MST Object

Description Usage Arguments Details Examples

Description

Converts a phylogenetic tree (class phylo) into a minimum spanning tree (class mst).

Usage

1
phylo2mst(phy)

Arguments

phy

An object of class phylo.

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

1
2
3
4
phy <- rtree(12)
plot(phy)
mst <- phylo2mst(phy)
plot(mst)

ips documentation built on July 4, 2019, 5:04 p.m.