evol.rate.mcmc {phytools} | R Documentation |
This function takes a phylogenetic tree and data for a single continuously valued character and uses a Bayesian MCMC approach to identify the phylogenetic location of a shift in the evolutionary rate through time.
evol.rate.mcmc(tree, x, ngen=10000, control=list())
tree |
a phylogenetic tree in |
x |
a vector of tip values for species; |
ngen |
an optional integer value indicating the number of generations for the MCMC. |
control |
a list of control parameters containing the following elements: |
Default values of control
are given in Revell et al. (2012).
A list with the following components:
mcmc |
results from the MCMC run. |
tips |
list of stips in rate σ(1)^2 for each sampled generation of MCMC (to polarize the rate shift). |
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., D. L. Mahler, P. Peres-Neto, and B. D. Redelings. (2012) A new method for identifying exceptional phenotypic diversification. Evolution, 66, 135-146.
anc.Bayes
, brownie.lite
, evol.vcv
, minSplit
, posterior.evolrate