upgma: UPGMA

upgmaR Documentation

UPGMA

Description

UPGMA clustering. Just a wrapper function around hclust.

Usage

upgma(d)

Arguments

d

A distance matrix.

Value

A phylogenetic tree of class phylo.

Author(s)

Klaus Schliep klaus.schliep@gmail.com

See Also

hclust, as.phylo

Examples


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


grunwaldlab/poppr documentation built on March 18, 2024, 11:24 p.m.