upgma | R Documentation |
UPGMA and WPGMA clustering. Just a wrapper function around
hclust
.
upgma(D, method = "average", ...) wpgma(D, method = "mcquitty", ...)
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. |
A phylogenetic tree of class phylo
.
Klaus Schliep klaus.schliep@gmail.com
hclust
, dist.hamming
, NJ
,
as.phylo
, fastme
, nnls.tree
data(Laurasiatherian) dm <- dist.ml(Laurasiatherian) tree <- upgma(dm) plot(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.