calcDstBLD: Calculate the BLD between two trees

Description Usage Arguments Details References See Also Examples

View source: R/calc-methods.R

Description

Returns the branch length distance between two trees.

Usage

1
calcDstBLD(tree_1, tree_2, nrmlsd = FALSE, parallel = FALSE, progress = "none")

Arguments

tree_1

TreeMan object

tree_2

TreeMan object

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 create_progress_bar

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)

treeman documentation built on July 8, 2020, 7:28 p.m.