Description Usage Arguments Details References
Calculate the normalised tree distance (topological and branch length) between trees
1 2 |
tree1 |
first tree of comparison |
tree2 |
second tree of comparison |
method |
'all', 'PH85', 'score', 'trip' or 'dmat'. Default 'all' |
normalised |
boolean, return distances of 0-1 |
This functions uses four different methods for calculating the distance between trees: the 'PH85' and 'score' methods of ape's topo.dist, 1 - Pearson's r calculated from the cophenetic matrix of the tip distances ('dmat') or the triplet distance of Critchlow et al. (1996). The function returns the normalised distances by default. Trees of different numbers of tips are pruned to the same size. Function will also rescale branch distances to sum to 1 before calculating distances. Note, triplet metric will only work for bifurcating and rooted trees otherwise it will return NA.
Critchlow DE, Pearl DK, Qian C. (1996) The Triples Distance for rooted bifurcating phylogenetic trees. Systematic Biologly, 45, 323–34.
Billera, L. J., Holmes, S. P. and Vogtmann, K. (2001) Geometry of the space of phylogenetic trees. Advances in Applied Mathematics, 27, 733–767.
Kuhner, M. K. and Felsenstein, J. (1994) Simulation comparison of phylogeny algorithms under equal and unequal evolutionary rates. Molecular Biology and Evolution, 11, 459–468.
Nei, M. and Kumar, S. (2000) Molecular Evolution and Phylogenetics. Oxford: Oxford University Press.
Penny, D. and Hendy, M. D. (1985) The use of tree comparison metrics. Systemetic Zoology, 34, 75–82.
Rzhetsky, A. and Nei, M. (1992) A simple method for estimating and testing minimum-evolution trees. Molecular Biology and Evolution, 9, 945–967.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.