calcRF - Finds the Robinson-Fould’s cluster distance between phylogenies.
Description¶
calcRF Calculates the RF distance between two phylogenetic trees with
the same tips and tip labels.
Usage¶
calcRF(tree_1, tree_2, nproc = 1, normalize = FALSE, include_root = TRUE)
Arguments¶
- tree_1
- A
phyloobject - tree_2
- A
phyloobject - nproc
- Number of cores to use for calculations.
- normalize
- Normalize RF by maximum RF distance
- include_root
- If TRUE include root split in denominator when normalize=TRUE. If FALSE root split won’t be counted as a possible split if trees are rooted at same tip.
Value¶
The RF cluster value for the two input trees.