Other packages > Find by keyword >

slendr  

A Simulation Framework for Spatiotemporal Population Genetics
View on CRAN: Click here


Download and install slendr package within the R console
Install from CRAN:
install.packages("slendr")

Install from Github:
library("remotes")
install_github("cran/slendr")

Install by package version:
library("remotes")
install_version("slendr", "1.0.0")



Attach the package and use:
library("slendr")
Maintained by
Martin Petr
[Scholar Profile | Author Map]
First Published: 2022-08-09
Latest Update: 2023-08-08
Description:
A framework for simulating spatially explicit genomic data which leverages real cartographic information for programmatic and visual encoding of spatiotemporal population dynamics on real geographic landscapes. Population genetic models are then automatically executed by the 'SLiM' software by Haller et al. (2019) <doi:10.1093/molbev/msy228> behind the scenes, using a custom built-in simulation 'SLiM' script. Additionally, fully abstract spatial models not tied to a specific geographic location are supported, and users can also simulate data from standard, non-spatial, random-mating models. These can be simulated either with the 'SLiM' built-in back-end script, or using an efficient coalescent population genetics simulator 'msprime' by Baumdicker et al. (2022) <doi:10.1093/genetics/iyab229> with a custom-built 'Python' script bundled with the R package. Simulated genomic data is saved in a tree-sequence format and can be loaded, manipulated, and summarised using tree-sequence functionality via an R interface to the 'Python' module 'tskit' by Kelleher et al. (2019) <doi:10.1038/s41588-019-0483-y>. Complete model configuration, simulation and analysis pipelines can be therefore constructed without a need to leave the R environment, eliminating friction between disparate tools for population genetic simulations and data analysis.
How to cite:
Martin Petr (2022). slendr: A Simulation Framework for Spatiotemporal Population Genetics. R package version 1.0.0, https://cran.r-project.org/web/packages/slendr. Accessed 22 Apr. 2025.
Previous versions and publish date:
0.2.0 (2022-08-09 14:00), 0.3.0 (2022-08-19 11:20), 0.4.0 (2022-09-30 22:40), 0.5.0 (2023-02-03 00:20), 0.5.1 (2023-03-09 20:40), 0.6.0 (2023-06-07 12:20), 0.7.0 (2023-06-26 18:30), 0.7.1 (2023-07-14 21:10), 0.7.2 (2023-08-08 11:50), 0.8.0 (2023-12-07 11:50), 0.8.1 (2024-01-15 16:20), 0.9.0 (2024-02-08 09:10), 0.9.1 (2024-02-22 00:20)
Other packages that cited slendr R package
View slendr citation profile
Other R packages that slendr depends, imports, suggests or enhances
Complete documentation for slendr
Downloads during the last 30 days
03/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/21Downloads for slendr051015202530TrendBars

Today's Hot Picks in Authors and Packages

GWPR.light  
Geographically Weighted Panel Regression
Geographically weighted panel regression is grounded in a branch of spatial statistics. Using geogra ...
Download / Learn more Package Citations See dependency  
optimStrat  
Choosing the Sample Strategy
Intended to assist in the choice of the sampling strategy to implement in a survey. ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
phylosamp  
Sample Size Calculations for Molecular and Phylogenetic Studies
Implements novel tools for estimating sample sizes needed for phylogenetic studies, including studi ...
Download / Learn more Package Citations See dependency  
ino  
Initialization of Numerical Optimization
Analysis of the initialization for numerical optimization of real-valued functions, including likel ...
Download / Learn more Package Citations See dependency  
Qest  
Quantile-Based Estimator
Quantile-based estimators (Q-estimators) can be used to fit any parametric distribution, using its q ...
Download / Learn more Package Citations See dependency  

24,098

R Packages

207,311

Dependencies

65,069

Author Associations

24,099

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA