BAMMtools2.1.12 package

Analysis and Visualization of Macroevolutionary Dynamics on Phylogenetic Trees

addBAMMlegend

Add a color legend to a phylo-rate plot

addBAMMshifts

Add BAMM-inferred rate shifts to a phylogeny plot

assignColorBreaks

Map macroevolutionary rates to colors

BAMMlikelihood

Calculate BAMM likelihood

BAMMtools-data

BAMMtools datasets

BAMMtools

BAMMtools

cohorts

Visualize macroevolutionary cohorts

computeBayesFactors

Compute Bayes Factors

credibleShiftSet

Credible set of macroevolutionary rate shift configurations from `BAMM...

distinctShiftConfigurations

Identify distinct rate shift configurations

dtRates

Calculate macroevolutionary rate changes on a phylogeny from BAMM ou...

generateControlFile

Generate control file for BAMM

getBestShiftConfiguration

Get the best (sampled) rate shift configuration from a BAMManalysis

getBranchShiftPriors

Compute prior odds of a rate shift on each branch of a phylogeny from ...

getCladeRates

Compute clade-specific mean rates

getCohortMatrix

Compute the pairwise correlation in rate regimes between all tips in a...

getEventData

Create bammdata object from MCMC output

getJenksBreaks

Jenks natural breaks classification

getMarginalBranchRateMatrix

Compute mean branch rates for bammdata object

getMeanBranchLengthTree

Compute phylogeny with branch lengths equal to corresponding macroevol...

getmrca

Find most recent common ancestors

getRateThroughTimeMatrix

Generate rate-through-time matrix from bammdata object

getShiftNodesFromIndex

Identify nodes associated with rate shifts from bammdataobject

getTipRates

Compute tip-specific macroevolutionary rates from bammdataobject

marginalOddsRatioBranches

Ratio of (marginal) posterior-to-prior probabilities on individual bra...

maximumShiftCredibility

Estimate maximum shift credibility configuration

plot.bammshifts

Plot distinct rate shift configurations on a phylogeny

plot.credibleshiftset

Plot credible set of rate shift configurations from BAMManalysis

plot

Plot BAMM-estimated macroevolutionary rates on a phylogeny

plotPrior

Plot the prior and posterior distribution of shifts

plotRateThroughTime

Plot rates through time

ratesHistogram

Histogram of BAMM rate frequencies

richColors

Rich color palette

samplingProbs

Creates clade-specific sampling fractions

setBAMMpriors

Set BAMM Priors

ShiftProbsTree

Branch-specific rate shift probabilities

speciesByRatesMatrix

Compute species-specific rate through time trajectories

stepBF

Identify the optimal number of shifts using Bayes factors

subsetEventData

Subset a bammdata object

subtreeBAMM

Pulls out a subtree from bammdata object

summary.bammdata

Summary of rate shift results from BAMM analysis

summary.credibleshiftset

Summary of credible set of shift configurations from a BAMManalysis

testTimeVariableBranches

Evaluate evidence for temporal rate variation across tree

traitDependentBAMM

STRAPP: STructured Rate Permutations on Phylogenies

transparentColor

Define colors with transparency

writeEventData

Write a bammdata object to disk

Provides functions for analyzing and visualizing complex macroevolutionary dynamics on phylogenetic trees. It is a companion package to the command line program BAMM (Bayesian Analysis of Macroevolutionary Mixtures) and is entirely oriented towards the analysis, interpretation, and visualization of evolutionary rates. Functionality includes visualization of rate shifts on phylogenies, estimating evolutionary rates through time, comparing posterior distributions of evolutionary rates across clades, comparing diversification models using Bayes factors, and more.