These functions compute average trees or consensus trees by various criteria.
averageTree(trees, start=NULL, method="quadratic.path.difference",
tol=1e-12, quiet=FALSE, ...)
ls.consensus(trees, start=NULL, tol=1e-12, quiet=FALSE, ...)
minTreeDist(tree, trees, method="quadratic.path.difference", ...)
object of class "multiPhylo"
.
object of class "phylo"
. For minTreeDist
the tree on which to find the edge lengths that minimize the distance to the phylogenies in trees
.
starting tree for optimization.
distance criterion for minimization. Options are "symmetric.difference"
, "branch.score.difference"
, "path.difference"
, and "quadratic.path.difference"
.
tolerance value for optimization.
logical value indicating whether to run "quietly" or not.
other arguments to be passed internally.
An object of class "phylo"
with edge lengths.