ratematrix1.2.5 package

Bayesian Estimation of the Evolutionary Rate Matrix

checkConvergence

Performs convergence tests

computeESS

Compute the ESS for the MCMC samples

continueMCMC

Continue unfinished MCMC chain or add more generations

estimateTimeMCMC

Time estimate to complete a MCMC chain

extractCorrelation

Extract the posterior distribution of evolutionary correlation

fastSimmap

Fast implementation of stochastic mapping.

getStartPointFromPosterior

Extract sample from MCMC to use as starting point for another MCMC

likelihoodFunction

Likelihood function for the multivariate Brownian motion model

logAnalyzer

Make analysis of the log file of the MCMC chain

makePrior

Generate prior distributions for the multivariate Brownian motion mode...

mergePosterior

Merge posterior distributions

mergeSimmap

Merge two or more regimes of a 'simmap' tree

plotPrior

Plot the prior distribution used in the MCMC analysis

plotRatematrix

Plot the distribution of evolutionary rate matrices

plotRootValue

Plot posterior distribution of root values for the traits

print.ratematrix_multi_chain

Print method for the "ratematrix_multi_chain" class.

print.ratematrix_multi_mcmc

Print method for the "ratematrix_multi_mcmc" class.

print.ratematrix_prior_function

Print method for the "ratematrix_prior_function" class.

print.ratematrix_prior_sample

Print method for the "ratematrix_prior_sample" class.

print.ratematrix_single_chain

Print method for the "ratematrix_single_chain" class.

print.ratematrix_single_mcmc

Print method for the "ratematrix_single_mcmc" class.

ratematrix

ratematrix.

ratematrixJointMCMC

Estimate the evolutionary rate matrix together with the regimes using ...

ratematrixMCMC

Estimate the evolutionary rate matrix using Markov-chain Monte Carlo

readMCMC_Mk

Read output files of MCMC for the predictor regimes.

readMCMC

Read the MCMC output files

samplePrior

Take samples from the prior distribution

simRatematrix

Simulates multivariate trait evolution using a Brownian motion model

testRatematrix

Test for difference between evolutionary rate matrix estimates

The Evolutionary Rate Matrix is a variance-covariance matrix which describes both the rates of trait evolution and the evolutionary correlation among multiple traits. This package has functions to estimate these parameters using Bayesian MCMC. It is possible to test if the pattern of evolutionary correlations among traits has changed between predictive regimes painted along the branches of the phylogenetic tree. Regimes can be created a priori or estimated as part of the MCMC under a joint estimation approach. The package has functions to run MCMC chains, plot results, evaluate convergence, and summarize posterior distributions.