tree.upgma | R Documentation |
The function computes the upgma tree from multiple gene trees.
tree.upgma(dist, name, method="average")
dist |
a distance matrix |
name |
the species names |
method |
the method for recalculate pairwise distances. two options: averge or min. |
The function returns a tree node matrix, a tree string and species names.
Liang Liu lliu@uga.edu
sptree.maxtree
dist<-matrix(runif(25),5,5)
dist<-(dist+t(dist))/2
diag(dist)<-0
tree.upgma(dist,name=c("H","G","C","O","W"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.