Search arXivSearch

arXiv · 2502.05004

R3F: An R package for evolutionary dates, rates, and priors using the relative rate framework

Abstract

The relative rate framework (RRF) can estimate divergence times from branch lengths in a phylogeny, which is the theoretical basis of the RelTime method frequently applied, a relaxed clock approach for molecular dating that scales well for large phylogenies. The use of RRF has also enabled the development of computationally efficient and accurate methods for testing the autocorrelation of lineage rates in a phylogeny (CorrTest) and selecting data-driven parameters of the birth-death speciation model (ddBD), which can be used to specify priors in Bayesian molecular dating. We have developed R3F, an R package implementing RRF to estimate divergence times, infer lineage rates, conduct CorrTest, and build a ddBD tree prior for Bayesian dating in molecular phylogenies. Here, we describe R3F functionality and explain how to interpret and use its outputs in other visualization software and packages, such as MEGA, ggtree, and FigTree. Ultimately, R3F is intended to enable the dating of the Tree of Life with greater accuracy and precision, which would have important implications for studies of organism evolution, diversification dynamics, phylogeography, and biogeography. Availability and Implementation: The source codes and related instructions for installing and implementing R3F are available from GitHub (https://github.com/cathyqqtao/R3F).

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Qiqing Tao, Sudip Sharma, Koichiro Tamura, Sudhir Kumar. 2025-02-07. R3F: An R package for evolutionary dates, rates, and priors using the relative rate framework. https://arxiv.org/abs/2502.05004

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Phase transitions in microbial lineage trees

Microbial populations exhibit high cell-to-cell variability, which fundamentally shapes population behavior. A striking consequence is the existence of phase transitions, where small genetic or environmental changes trigger abrupt shifts in population dynamics. While biological phase transitions have often been proposed, connecting observed behavior to the underlying physics has remained challenging. We combine population genetics with statistical physics to show how phase transitions arise naturally in microbial populations. We highlight the existence of a first-order transition in a model of bacterial plasmid engineering and find a strict lower bound on the number of plasmids that can be stably maintained in a population.

q-bio.PE

Phylogenetic Inference and the Stickiness of Fréchet Means, via Precise Asymptotics of an Embedded Random Walk

A well-known phenomenon in statistical analyses of populations of phylogenetic trees in the Billera-Holmes-Vogtmann space is that the topology of the Fréchet mean tree can contain multifurcations (i.e., internal nodes with more than two children), which raises the practical question of whether this reflects a population-level branching structure (hard polytomy) or merely sampling variability in the data (soft polytomy). This is an instance of the more general phenomenon of "stickiness" in non-Euclidean statistics, whereby the sample Fréchet mean in certain non-positively curved stratified spaces becomes permanently trapped in a lower-dimensional stratum. In this work, we identify a particular multidimensional random walk embedded within the Fréchet mean process, and we show that the time at which stickiness occurs is determined by the largest last-passage time above zero of the coordinates of this random walk. Using this representation, we develop a fully nonparametric procedure for estimating the probability that trifurcations in a sample Fréchet mean tree will bifurcate at some future time if more observations are collected. Lastly, we apply our methodology to a problem in phylogenetics where we consider whether an observed trifurcation in the species tree of primates, glires, and tree shrews is genuinely trifurcated at the population level.

q-bio.PE

Coexistence coalitions in propagule disperser quasi-communities

Many natural ecosystems harbor large numbers of coexisting species competing for far fewer distinct resources, in apparent defiance of the competitive exclusion principle. Various mechanisms have been proposed to explain this apparent paradox, often pertaining to organisms with a two-stage sessile--propagule life cycle. Here we develop a stochastic model class for such propagule disperser communities that combines competition--colonization trade-offs, spatial heterogeneity, demographic stochasticity, as well as inherited trait variation, and recover several classical models as special or limiting cases. Using bifurcation analysis, we classify equilibrium coalitions near the extinction threshold and give sufficient conditions for their realization by macroscopic equilibria away from the threshold, bypassing the costly numerical computation of the actual equilibrium states. Illustrative examples examine the resulting trait distributions and coalition patterns, demonstrating the interactive effects of different coexistence mechanisms.

q-bio.PE