exhaustiveMP {phytools}R Documentation

Exhaustive and branch & bound MP optimization

Description

This function does exhaustive and branch & bound MP searches.

Usage

exhaustiveMP(data, tree=NULL, method="branch.and.bound")

Arguments

data

is a phyDat (Schliep 2011) object containing DNA or other data.

tree

an optional input tree (used only with method="branch.and.bound").

method

an optional string indicatingn method to use: "branch.and.bound" or "exhaustive".

Details

Should probably not be used for more than about 8 species (and definitely not more than 10 species). Performs parsimony calculations using parsimony in the "phangorn" package (Schliep 2011).

Value

A "phylo" or "multiPhylo" object that is the MP tree or set of MP trees. It also returns the parsimony scores in attr(trees,"pscore") or attr(trees[[i]],"pscore") for the ith tree.

Author(s)

Liam Revell liam.revell@umb.edu

References

Felsenstein, J. (2004) Inferring Phylogenies. Sinauer.

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

Schliep, K. P. (2011) phangorn: phylogenetic analysis in R. Bioinformatics, 27, 592-593.

See Also

mrp.supertree, optim.parsimony, pratchet


[Package phytools version 0.4-60 Index]