dist.taxa | R Documentation |
The function computes all pairwise distances among taxa in the tree.
dist.taxa(nodematrix, nspecies)
nodematrix |
the tree node matrix |
nspecies |
the number of taxa in the tree |
The function returns a distance matrix.
Liang Liu lliu@uga.edu
treestr<-"((((H:0.00402,C:0.00402):0.00304,G:0.00705):0.00929,O:0.01635):0.1,W:0.11635);"
nodematrix<-read.tree.nodes(treestr)$nodes
dist.taxa(nodematrix,5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.