upgma {phangorn}R Documentation

UPGMA

Description

UPGMA clustering. Just a wrapper function around hclust.

Usage

upgma(D, method = "average", ...)

Arguments

D A distance matrix.
method The agglomeration method to be used. This should be (an unambiguous abbreviation of) one of "ward", "single", "complete", "average", "mcquitty", "median" or "centroid". The default is "average".
... Further arguments passed to or from other methods.

Value

A phylogenetic tree of class phylo.

Author(s)

Klaus Schliep K.P.Schliep@massey.ac.nz

See Also

hclust, as.phylo

Examples

data(Laurasiatherian)
dm = dist.logDet(Laurasiatherian)
tree = upgma(dm)
plot(tree)


[Package phangorn version 0.0-5 Index]