Tree plotting with posterior probabilities of ancestral states from the threshold model
plotThresh(tree, x, mcmc, burnin=NULL, piecol, tipcol="input", legend=TRUE, ...)
tree |
phylogenetic tree. |
x |
a named vector containing discrete character states; or a matrix containing the tip species, in rows, and probabilities of being in each state, in columns. |
mcmc |
list object returned by |
burnin |
number of generations (not samples) to exclude as burn in; if |
piecol |
a named vector containing the colors for the posterior probabilities plotted as pie charts at internal nodes. |
tipcol |
a string indicating whether the tip colors should be based on the input data ( |
legend |
logical value or text to be plotted in the legend. |
... |
other arguments to be passed to |
Plots a tree.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Revell, L. J. (2014) Ancestral character estimation under the threshold model from quantitative genetics. Evolution, bold68, 743-759.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.