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)


poppr documentation built on May 29, 2024, 5:54 a.m.