tree.distance | R Documentation |
This function calculates the distance between two trees. Two trees are pruned to have the same set of species.
tree.distance(tree1,tree2, method="RF", normalize=TRUE)
tree1 |
a tree string |
tree2 |
a tree string |
method |
RF: RF distance, SC: branch score distance |
normalize |
normalized by (2 * the number of internal branches) |
It calculates the distance of two trees.
Liang Liu
data(dat.unrootedtree)
tree.distance(dat.unrootedtree[1], dat.unrootedtree[2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.