Description Usage Arguments Details References See Also Examples
Returns the triplet distance between two trees.
1 | calcDstTrp(tree_1, tree_2, nrmlsd = FALSE, parallel = FALSE, progress = "none")
|
tree_1 |
|
tree_2 |
|
nrmlsd |
Boolean, should returned value be between 0 and 1? Default, FALSE. |
parallel |
logical, make parallel? |
progress |
name of the progress bar to use, see |
The triplet distance is calculated as the sum of different outgroups among every triplet of tips between the two trees. Normalisation is performed by dividing the resulting number by the total number of triplets shared between the two trees. The triplet distance is calculated only for shared tips between the two trees. Parallelizable.
Critchlow DE, Pearl DK, Qian C. (1996) The Triples Distance for rooted bifurcating phylogenetic trees. Systematic Biology, 45, 323-34.
calcDstBLD
, calcDstRF
https://github.com/DomBennett/treeman/wiki/calc-methods
1 2 3 4 | library(treeman)
tree_1 <- randTree(10)
tree_2 <- randTree(10)
calcDstTrp(tree_1, tree_2)
|
[1] 87
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.