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]
All associated links for this package
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 Dec. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
Download / Learn more Package Citations See dependency  
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
wordspace  
Distributional Semantic Models in R
An interactive laboratory for research on distributional semantic models ('DSM', see < ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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