Related Experiment Video
Updated: Jun 3, 2025

Daily Transfers, Archiving Populations, and Measuring Fitness in the Long-Term Evolution Experiment with Escherichia coli
Published on: August 18, 2023
TraitTrainR: accelerating large-scale simulation under models of continuous trait evolution
Jenniffer Roa Lozano1,2, Mataya Duncan1,2, Duane D McKenna3,4
1Center for Agricultural Data Analytics, University of Arkansas, Fayetteville, AR 72701, United States.
Motivation:
The scale and scope of comparative trait data are expanding at unprecedented rates, and recent advances in evolutionary modeling and simulation sometimes struggle to match this pace. Well-organized and flexible applications for conducting large-scale simulations of evolution hold promise in this context for understanding models and more so our ability to confidently estimate them with real trait data sampled from nature.
Results:
We introduce TraitTrainR, an R package designed to facilitate efficient, large-scale simulations under complex models of continuous trait evolution. TraitTrainR employs several output formats, supports popular trait data transformations, accommodates multi-trait evolution, and exhibits flexibility in defining input parameter space and model stacking. Moreover, TraitTrainR permits measurement error, allowing for investigation of its potential impacts on evolutionary inference. We envision a wealth of applications of TraitTrainR, and we demonstrate one such example by examining the problem of evolutionary model selection in three empirical phylogenetic case studies. Collectively, these demonstrations of applying TraitTrainR to explore problems in model selection underscores its utility and broader promise for addressing key questions, including those related to experimental design and statistical power, in comparative biology.
Availability And Implementation:
TraitTrainR is developed in R 4.4.0 and is freely available at https://github.com/radamsRHA/TraitTrainR/, which includes detailed documentation, quick-start guides, and a step-by-step tutorial.
Related Concept Videos
Mechanistic Models: Compartment Models in Individual and Population Analysis
Mutation, Gene Flow, and Genetic Drift
Speciation Rates
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Genetic Drift
Gene Evolution - Fast or Slow?
In contrast, regions which code...

