Computes the Robinson-Foulds (Robinson & Foulds 1981) distance between a set of trees in an object of class "multiPhylo"
.
multiRF(trees,quiet=FALSE,multi2di=FALSE)
object of class "multiPhylo"
consisting of two or more fully bifurcating, unrooted trees. If trees are rooted, they will be unrooted.
logical argument indicating whether or not to run quietly. (Defaults to FALSE
.)
logical argumenet indicating whether or not to resolve multifurcating trees. (Defaults to FALSE
.)
A matrix containing distances.
Computes the Robinson-Foulds distance between all phylogenies in an object of class "multiPhylo"
. Uses prop.part
internally for most of the heavy lifting.
Robinson, D. R., Foulds, L. R. (1981) Comparison of phylogenetic trees. Mathematical Biosciences, 53, 131-147.
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.