Learn R Programming

poppr (version 2.9.6)

upgma: UPGMA

Description

UPGMA clustering. Just a wrapper function around hclust.

Usage

upgma(d)

Value

A phylogenetic tree of class phylo.

Arguments

d

A distance matrix.

Author

Klaus Schliep klaus.schliep@gmail.com

See Also

hclust, as.phylo

Examples

Run this code

library(ape)
data(woodmouse)
dm <- dist.dna(woodmouse)
tree <- upgma(dm)
plot(tree)

Run the code above in your browser using DataLab