Published June 28, 2023 | Version v3

Code and data: Exploring congruent diversification histories with flexibility and parsimony

Authors/Creators

  • 1. Anonymous

Description

This repository contains the code and data for the article "Exploring congruent diversification histories with flexibility and parsimony" (abstract bellow).

Data :

Code :

  • CRABS-v1.1.0.9004.zip: Archived version of the CRABS package with our extension.
  • Mammalian_rates_EBD_HSMRF.rev: Rev script for the mammalian diversification analysis in RevBayes with regularized priors on diversification rates.
  • Mammalian_rates_EBD_independent.rev: Rev script for the mammalian diversification analysis in RevBayes with independent diversification rates at each interval.
  • Mammals_proccess_RevBayes_outputs.Rmd: R notebook for processing the outputs from the RevBayes mammalian diversification analysis, plotting the rates through time, and saving the median trajectories used for further analyses.
  • Exploring_congruent_diversification_histories_with_flexibility_and_parsimony.Rmd: R notebook for comparing the initial CRABS features and our new extensions. It enables replicating the figures in the article.

Outputs :

  • output_inferredIntervals_fixedRhp_HSMRF.zip & output_inferredIntervals_fixedRhp_independent.zip: The raw traces from the RevBayes analysis, and the resulting median rate trajectories that are used to construct the congruence class illustrated in the article.


Abstract

  1. Using phylogenies of present-day species to estimate diversification rate trajectories -- speciation and extinction rates over time -- is a challenging task due to non-identifiability issues. Given a phylogeny, there exists an infinite set of trajectories that result in the same likelihood; this set has been coined a congruence class. Previous work has developed approaches for sampling trajectories within a given congruence class, with the aim to assess the extent to which congruent scenarios can vary from one another. Based on this sampling approach, it has been suggested that rapid changes in speciation or extinction rates are conserved across the class. Reaching such conclusions requires to sample the broadest possible set of distinct trajectories.
  2. We introduce a new method for exploring congruence classes, that we implement in the R package CRABS. Whereas existing methods constrain either the speciation rate or the extinction rate trajectory, ours provides more flexibility by sampling congruent speciation and extinction rate trajectories simultaneously. This allows covering a more representative set of distinct diversification rate trajectories. We also implement a filtering step that allows selecting the most parsimonious trajectories within a class.
  3. We demonstrate the utility of our new sampling strategy using a simulated scenario. Next, we apply our approach to the study of mammalian diversification history. We show that rapid changes in speciation and extinction rates need not be conserved across a congruence class, but that selecting the most parsimonious trajectories shrinks the class to concordant scenarios.
  4. Our approach opens new avenues both to truly explore the myriad of potential diversification histories consistent with a given phylogeny, embracing the uncertainty inherent to phylogenetic diversification models, and to select among these different histories. This should help refining our inference of diversification trajectories from extant data.

Files

CRABS-v1.1.0.9004.zip

Files (74.8 MB)

Name Size
md5:c75b082fe6cc42285ee0287017042dc2
515.2 kB Download
md5:47bbd10dd6f8943a3105edc2b75fc969
5.3 MB Preview Download
md5:7af465366a97a6f97d6a486dc07f6add
34.2 kB Download
md5:20b7b362c1b402b1c7fd66e2287034ef
8.4 kB Download
md5:6c64b6ddeb7618609d844f99d6c2347b
6.5 kB Download
md5:353d0b1f7ff09c9aa4d2054a4216c3e8
17.1 kB Download
md5:71c5f5d3525d6ea67d7d8cbaba6cb679
238.5 kB Preview Download
md5:7360869077d3c87ef1da7cb37462baeb
53.5 MB Preview Download
md5:520c8685260b0d0f6ae43a1d4fcb8b5e
15.2 MB Preview Download

Additional details

Related works

Funding

European Commission
PANDA - Phylogenetic ANalysis of Diversification Across the tree of life 616419