Learn R Programming

phytools (version 0.2-40)

mrp.supertree: Matrix representation parsimony supertree estimation

Description

This function estimates the MRP supertree from a set of trees.

Usage

mrp.supertree(trees, method=c("pratchet","optim.parsimony"), ...)

Arguments

trees
an object of class "multiPhylo" (i.e., a list of trees).
method
an argument specifying whether to optimize the tree using pratchet or optim.parsimony.
...
optional arguments - mostly to be passed to pratchet or optim.parsimony.

Value

  • a "phylo" or "multiPhylo" object that is the MP or set of MP MRP trees.

Details

Function uses pratchet or optim.parsimony rom the "phangorn" package (Schliep 2011) and prop.part from the "ape" package (Paradis et al. 2004). See pratchet or optim.parsimony for optional arguments, which vary slightl depending on the method. All optional arguments of these methods are available to the user with one exception. The argument tree in optim.parsimony is supplied instead as start. In addition to being an object of class "phylo", start can also be assigned the string values of "NJ" or "random", in which case either a neighbor-joining or random tree will be used as the starting tree for optimization.

References

Felsenstein, J. 2004. Inferring Phylogenies. Sinauer. Paradis, E., J. Claude, and K. Strimmer. 2004. APE: Analyses of phylogenetics and evolution in R language. Bioinformatics, 20, 289--290. Schliep, K. P. 2011. phangorn: phylogenetic analysis in R. Bioinformatics, 27, 592-593.

See Also

exhaustiveMP, optim.parsimony, pratchet