Last chance! 50% off unlimited learning
Sale ends in
ancestral.pml(object, type = c("ml", "bayes"))
ancestral.pars(tree, data, type = c("MPR", "ACCTRAN"))
pace(tree, data, type = c("MPR", "ACCTRAN"))
plotAnc(tree, data, i, col=NULL, ...)
data
.ancestral.pml
so far "ml" and
(empirical) "bayes" and for ancestral.pars
"MPR" and "ACCTRAN" are possible.
With parsimony reconstruction one has to keep in mind that there will be often no unique solution.
For further details see vignette("Ancestral").pml
, parsimony
, ace
, root
example(NJ)
fit = pml(tree, Laurasiatherian)
anc.ml = ancestral.pml(fit, type = "ml")
anc.p = ancestral.pars(tree, Laurasiatherian)
require(seqLogo)
seqLogo( t(subset(anc.ml, 48, 1:20)[[1]]), ic.scale=FALSE)
seqLogo( t(subset(anc.p, 48, 1:20)[[1]]), ic.scale=FALSE)
plotAnc(tree, anc.ml, 1)
Run the code above in your browser using DataLab