Back to Search Start Over

slimr: An R package for tailor-made integrations of data in population genomic simulations over space and time.

Authors :
Dinnage R
Sarre SD
Duncan RP
Dickman CR
Edwards SV
Greenville AC
Wardle GM
Gruber B
Source :
Molecular ecology resources [Mol Ecol Resour] 2024 Apr; Vol. 24 (3), pp. e13916. Date of Electronic Publication: 2023 Dec 20.
Publication Year :
2024

Abstract

Software for realistically simulating complex population genomic processes is revolutionizing our understanding of evolutionary processes, and providing novel opportunities for integrating empirical data with simulations. However, the integration between standalone simulation software and R is currently not well developed. Here, we present slimr, an R package designed to create a seamless link between standalone software SLiM >3.0, one of the most powerful population genomic simulation frameworks, and the R development environment, with its powerful data manipulation and analysis tools. We show how slimr facilitates smooth integration between genetic data, ecological data and simulation in a single environment. The package enables pipelines that begin with data reading, cleaning and manipulation, proceed to constructing empirically based parameters and initial conditions for simulations, then to running numerical simulations and finally to retrieving simulation results in a format suitable for comparisons with empirical data - aided by advanced analysis and visualization tools provided by R. We demonstrate the use of slimr with an example from our own work on the landscape population genomics of desert mammals, highlighting the advantage of having a single integrated tool for both data analysis and simulation. slimr makes the powerful simulation ability of SLiM directly accessible to R users, allowing integrated simulation projects that incorporate empirical data without the need to switch between software environments. This should provide more opportunities for evolutionary biologists and ecologists to use realistic simulations to better understand the interplay between ecological and evolutionary processes.<br /> (© 2023 John Wiley & Sons Ltd.)

Details

Language :
English
ISSN :
1755-0998
Volume :
24
Issue :
3
Database :
MEDLINE
Journal :
Molecular ecology resources
Publication Type :
Academic Journal
Accession number :
38124500
Full Text :
https://doi.org/10.1111/1755-0998.13916