
Last chance! 50% off unlimited learning
Sale ends in
These function superTree
allows the estimation of a supertree from a
set of trees using either Matrix representation parsimony, Robinson-Foulds
or SPR as criterion.
superTree(tree, method = "MRP", rooted = FALSE, trace = 0,
start = NULL, multicore = FALSE, mc.cores = NULL, ...)
The function returns an object of class phylo
.
an object of class multiPhylo
An argument defining which algorithm is used to optimize the tree. Possible are "MRP", "RF", and "SPR".
should the resulting supertrees be rooted.
defines how much information is printed during optimization.
a starting tree can be supplied.
logical, whether models should estimated in parallel.
The number of cores to use, i.e. at most how many child processes will be run simultaneously.
further arguments passed to or from other methods.
Klaus Schliep klaus.schliep@gmail.com Liam Revell
The function superTree
extends the function mrp.supertree from Liam
Revells, with artificial adding an outgroup on the root of the trees. This
allows to root the supertree afterwards. The functions is internally used in
DensiTree. The implementation for the RF- and SPR-supertree are very basic
so far and assume that all trees share the same set of taxa.
Baum, B. R., (1992) Combining trees as a way of combining data sets for phylogenetic inference, and the desirability of combining gene trees. Taxon, 41, 3-10.
Ragan, M. A. (1992) Phylogenetic inference based on matrix representation of trees. Molecular Phylogenetics and Evolution, 1, 53-58.
mrp.supertree
, densiTree
,
RF.dist
, SPR.dist
data(Laurasiatherian)
set.seed(1)
bs <- bootstrap.phyDat(Laurasiatherian,
FUN = function(x) upgma(dist.hamming(x)), bs=50)
mrp_st <- superTree(bs)
plot(mrp_st)
if (FALSE) {
rf_st <- superTree(bs, method = "RF")
spr_st <- superTree(bs, method = "SPR")
}
Run the code above in your browser using DataLab