upgma

0th

Percentile

UPGMA and WPGMA

UPGMA and WPGMA clustering. Just a wrapper function around hclust.

Keywords
cluster
Usage
upgma(D, method = "average", ...)

wpgma(D, method = "mcquitty", ...)

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.

See Also

hclust, dist.hamming, NJ, as.phylo, fastme, nnls.tree

Aliases
  • upgma
  • wpgma
Examples
# NOT RUN {
data(Laurasiatherian)
dm = dist.ml(Laurasiatherian)
tree = upgma(dm)
plot(tree)

# }
Documentation reproduced from package phangorn, version 2.4.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.