Calculate the BLD between two trees

Share:

Description

Returns the branch length distance between two trees.

Usage

1
calcDstBLD(tree_1, tree_2, nrmlsd = FALSE, ...)

Arguments

tree_1

TreeMan object

tree_2

TreeMan object

nrmlsd

Boolean, should returned value be between 0 and 1? Default, FALSE.

...

plyr arguments

Details

BLD is the Robinson-Foulds distance weighted by branch length. Instead of summing the differences in partitions between the two trees, the metric takes the square root of the squared difference in branch lengths. Parallelizable.

References

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.

See Also

calcDstTrp, calcDstRF https://github.com/DomBennett/treeman/wiki/calc-methods

Examples

1
2
3
4
library(treeman)
tree_1 <- randTree(10)
tree_2 <- randTree(10)
calcDstBLD(tree_1, tree_2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.