
Dataset summarizing 1000 posterior samples of BAMM for extant ponerine ants updated to 10 My
Source:R/datasets_doc.R
Ponerinae_BAMM_object_10My.RdAn object of class "bammdata" containing information of diversification dynamics
of extant ponerine ants (Ponerinae subfamily) modeled with BAMM and cut-off for a focal_time of 10 My.
This object was obtained with update_rates_and_regimes_for_focal_time().
Source: Doré, M., Borowiec, M. L., Branstetter, M. G., Camacho, G. P., Fisher, B. L., Longino, J. T., Ward, P. S., Blaimer, B. B. (2025). Evolutionary history of ponerine ants highlights how the timing of dispersal events shapes modern biodiversity. Nature Communications, 16, 8297. https://doi.org/10.1038/s41467-025-63709-3
Usage
data(Ponerinae_BAMM_object_10My)Details
An object of class "bammdata" containing information of diversification dynamics
of extant ponerine ants (Ponerinae subfamily) modeled with BAMM.
Phylogeny-related elements used to plot a phylogeny with ape::plot.phylo():
$edgeMatrix of integers. Defines the tree topology by providing rootward and tipward node ID of each edge.$NnodeInteger. Number of internal nodes.$tip.labelVector of character strings. Labels of all tips. If an initial extant clade was cut-off, the tip.label is the tipward edge ID of the cut branch.$edge.lengthVector of numerical. Length of edges/branches.
BAMM internal elements used for tree exploration:
$beginVector of numerical. Absolute time since root of edge/branch start (rootward).$endVector of numerical. Absolute time since root of edge/branch end (tipward).$downseqVector of integers. Order of node visits when using a pre-order tree traversal.$lastvisitID of the last node visited when starting from the node in the corresponding position in$downseq.
BAMM elements summarizing diversification data updated for a focal_time of 10 My:
$numberEventsVector of integer. Number of events/macroevolutionary regimes (k+1) recorded in each posterior configuration. k = number of shifts.$eventDataList of data.frames. One per posterior sample. Records shift events and macroevolutionary regimes parameters. 1st line = Background root regime.$eventVectorsList of integer vectors. One per posterior sample. Record regime ID per branches.$tipStatesList of integer vectors. One per posterior sample. Record regime ID per tips.$tipLambdaList of numerical vectors. One per posterior sample. Record speciation rates per tips.$tipMuList of numerical vectors. One per posterior sample. Record extinction rates per tips.$eventBranchSegsList of matrix of numerical. One per posterior sample. Record regime ID per segments of branches.$meanTipLambdaVector of numerical. Mean tip speciation rates across all posterior configurations of tips.$meanTipMuVector of numerical. Mean tip extinction rates across all posterior configurations of tips.$typeCharacter string. Set the type of data modeled with BAMM. Here, type = "diversification".
Additional elements providing key information for downstream analyses:
$expectedNumberOfShiftsInteger. The expected number of regime shifts used to set the prior in BAMM.$MSP_treeObject of classphylo. List of 4 elements duplicating information from the Phylogeny-related elements above, except$MSP_tree$edge.lengthis recording the Marginal Shift Probability of each branch (i.e., the probability of a regime shift to occur along each branch) whose origin is older thatfocal_time.$MAP_indicesVector of integers. The indices of the Maximum A Posteriori probability (MAP) configurations among the posterior samples.$MAP_BAMM_object. List of 18 elements of class"bammdata" recording the mean rates and regime shift locations found across the Maximum A Posteriori probability (MAP) configuration. All BAMM elements summarizing diversification data holds a single entry describing this the mean diversification history, updated for thefocal_time`.$MSC_indicesVector of integers. The indices of the Maximum Shift Credibility (MSC) configurations among the posterior samples.$MSC_BAMM_objectList of 18 elements of class"bammdata" recording the mean rates and regime shift locations found across the Maximum Shift Credibility (MSC) configurations. All BAMM elements summarizing diversification data holds a single entry describing this mean diversification history, updated for thefocal_time`.
New elements added to provide updated information:
$root_ageInteger. Stores the age of the root of the tree.$nodes_ID_dfData.frame with two columns. Provides the conversion from thenew_node_IDin the cut tree to theinitial_node_IDin the extant tree. Each row is a node.$initial_nodes_IDVector of character strings. Provides the initial ID of internal nodes. Used to plot internal node IDs as labels withape::nodelabels().$edges_ID_dfData.frame with two columns. Provides the conversion from thenew_edge_IDin the cut tree to theinitial_edge_IDin the extant tree. Each row is an edge/branch.$initial_edges_IDVector of character strings. Provides the initial ID of edges/branches. Used to plot edge/branch IDs as labels withape::edgelabels().$dtratesList of three elements.1/
$dtrates$tauNumerical. Resolution factor describing the fraction of each segment length used inplot_BAMM_rates()compared to the full depth of the initial tree (i.e., the root_age)2/
$dtrates$ratesList of two numerical vectors. Speciation and extinction rates along segments used byplot_BAMM_rates().3/
$dtrates$tmatMatrix of numerical. Start and end times of segments in term of distance to the root.
$initial_colorbreaksList of three vectors of numerical. Rate values of the percentiles delimiting the bins for mapping rates to colors withBAMMtools::plot.bammdata(). Each element provides values for different type of rates ($speciation,$extinction,$net_diversification).$focal_timeInteger. The time, in terms of time distance from the present, at which the rates/regimes were extracted and the tree was eventually cut. Here: 10 My.
References
Doré, M., Borowiec, M. L., Branstetter, M. G., Camacho, G. P., Fisher, B. L., Longino, J. T., Ward, P. S., Blaimer, B. B. (2025). Evolutionary history of ponerine ants highlights how the timing of dispersal events shapes modern biodiversity. Nature Communications, 16, 8297. https://doi.org/10.1038/s41467-025-63709-3
See also
update_rates_and_regimes_for_focal_time()
BAMM software website: http://bamm-project.org/