upgma | R Documentation |
UPGMA clustering. Just a wrapper function around hclust
.
upgma(d)
d |
A distance matrix. |
A phylogenetic tree of class phylo
.
Klaus Schliep klaus.schliep@gmail.com
hclust
, as.phylo
library(ape)
data(woodmouse)
dm <- dist.dna(woodmouse)
tree <- upgma(dm)
plot(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.