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)
A list with the following elements:
node for the minimum split.
location on the branch leading to node
of the minimum split.
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).
Liam Revell liam.revell@umb.edu
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
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.
evol.rate.mcmc
, posterior.evolrate