View source: R/evol.rate.mcmc.R
posterior.evolrate | R Documentation |
Analyzes posterior sample from evol.rate.mcmc
.
posterior.evolrate(tree, ave.shift, mcmc, tips, showTree=FALSE)
tree |
a phylogenetic tree in |
ave.shift |
mean or median shift-point from the posterior sample (see |
mcmc |
matrix |
tips |
list of tips in state |
showTree |
optional logical value indicating whether or not to plot the stretched and shrunken tree generated by the pre-processing algorithm implemented in this function (default is |
This function takes a phylogenetic tree, an average split position, and a raw MCMC output from evol.rate.mcmc
and returns a posterior sample of evolutionary rates rootward (\sigma_1^2
) and tipward (\sigma_2^2
) from the average split.
A matrix containing the posterior sample of evolutionary rates and shift-points between rates.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
Revell, L. J., D. L. Mahler, P. Peres-Neto, and B. D. Redelings (2012) A new method for identifying exceptional phenotypic diversification. Evolution, 66, 135-146.
evol.rate.mcmc
, minSplit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.