Learn R Programming

MCMCtreeR (version 1.1)

Prepare MCMCtree Analyses and Plot Bayesian Divergence Time Analyses Estimates on Trees

Description

Provides functions to prepare time priors for 'MCMCtree' analyses in the 'PAML' software from Yang (2007) and plot time-scaled phylogenies from any Bayesian divergence time analysis. Most time-calibrated node prior distributions require user-specified parameters. The package provides functions to refine these parameters, so that the resulting prior distributions accurately reflect confidence in known, usually fossil, time information. These functions also enable users to visualise distributions and write 'MCMCtree' ready input files. Additionally, the package supplies flexible functions to visualise age uncertainty on a plotted tree with using node bars, using branch widths proportional to the age uncertainty, or by plotting the full posterior distributions on nodes. Time-scaled phylogenetic plots can be visualised with absolute and geological timescales . All plotting functions are applicable with output from any Bayesian software, not just 'MCMCtree'.

Copy Link

Version

Install

install.packages('MCMCtreeR')

Monthly Downloads

203

Version

1.1

License

GPL (>= 2)

Maintainer

Last Published

May 21st, 2019

Functions in MCMCtreeR (1.1)

estimateBound

Estimate a Uniform Distribution for MCMCtree
tipDes

Find Descendent Tips From A Common Ancestor
estimateCauchy

Estimate Cauchy Distribution for MCMCtree
estimateUpper

Estimate Upper Age for MCMCtree analysis
nodeToPhy

Add Node Constraints to Tree in MCMCtree Format
priorPosterior

priorPosterior
plotMCMCtree

Plot distribution from MCMCtree node estimations
MCMCtreePhy

MCMCtreePhy
readMCMCtree

Read MCMCtree output tree into R
estimateFixed

Fixed Age for MCMCtree analysis input
apeData

ApeData Ape phylogeny in ape format, monophyletic clades, and maximum and minimum ages
estimateGamma

Estimate Gamma Distribution for MCMCtree analysis
MCMC.tree.plot

Plot time-scaled phylogenies
MCMCtree.output

MCMCtree.output
estimateSkewNormal

Estimate Skew Normal for MCMCtree analysis
estimateSkewT

Estimate Skew-t Distribution for MCMCtree analysis