This function takes a phylogenetic tree and a list of splits and identifies the split with the smallest summed or summed squared distances to all the other splits.
minSplit(tree, split.list, method="sum", printD=FALSE)
an object of class "phylo"
.
either a matrix with two named columns, "node"
and "bp"
; a $mcmc
matrix from evol.rate.mcmc()
; or the entire raw output from evol.rate.mcmc()
.
an optional string indicating the criterion to minimize: options are "sum"
and "sumsq"
.
logical specifying whether to print distances to screen (FALSE
by default).
A list with the following components:
node for the minimum split.
location on the branch leading to node
of the minimum split.
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Revell, L. J., D. L. Mahler, P. Peres-Neto, and B. D. Redelings (2012) A new method for identifying exceptional phenotypic diversification. Evolution, 66, 135-146.