Package: slendr 1.0.0
Martin Petr
slendr: A Simulation Framework for Spatiotemporal Population Genetics
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.
Authors:
slendr_1.0.0.tar.gz
slendr_1.0.0.zip(r-4.5)slendr_1.0.0.zip(r-4.4)slendr_1.0.0.zip(r-4.3)
slendr_1.0.0.tgz(r-4.4-any)slendr_1.0.0.tgz(r-4.3-any)
slendr_1.0.0.tar.gz(r-4.5-noble)slendr_1.0.0.tar.gz(r-4.4-noble)
slendr_1.0.0.tgz(r-4.4-emscripten)slendr_1.0.0.tgz(r-4.3-emscripten)
slendr.pdf |slendr.html✨
slendr/json (API)
NEWS
# Install 'slendr' in R: |
install.packages('slendr', repos = c('https://bodkan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bodkan/slendr/issues
popgenpopulation-geneticssimulationsspatial-statistics
Last updated 2 days agofrom:d0509acef8. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 21 2024 |
R-4.5-win | OK | Nov 21 2024 |
R-4.5-linux | OK | Nov 21 2024 |
R-4.4-win | OK | Nov 21 2024 |
R-4.4-mac | OK | Nov 21 2024 |
R-4.3-win | OK | Nov 21 2024 |
R-4.3-mac | OK | Nov 21 2024 |
Exports:%>%animate_modelareaas.phylo.slendr_phylocheck_dependenciescheck_envclear_envcompile_modeldistanceexpand_rangeexplore_modelextract_parametersgene_flowinit_envjoinmovemsprimeoverlapplot_mapplot_modelpopulationprint.slendr_tsread_modelregionreprojectresizeschedule_samplingset_dispersalset_rangesetup_envshrink_rangeslimsubstitute_valuessubtractts_afsts_ancestorsts_coalescedts_descendantsts_divergencets_diversityts_drawts_edgests_eigenstratts_f2ts_f3ts_f4ts_f4ratiots_fstts_genotypests_ibdts_loadts_metadatats_mutatets_namests_nodests_phylots_readts_recapitatets_samplests_savets_segregatingts_simplifyts_tablets_tajimats_tractsts_treets_vcfts_writeworld
Dependencies:apebackportsbase64encbitbit64bslibcachemcheckmateclicliprcolorspacecommonmarkcpp11crayondigestdplyrfansifarverfastmapfontawesomefsgenericsggplot2gluegtableherehmshtmltoolshttpuvijtiffisobandjquerylibjsonlitelabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmepillarpkgconfigpngprettyunitsprogresspromisespurrrR6rappdirsRColorBrewerRcppRcppTOMLreadrreticulaterlangrprojrootsassscalesshinyshinyWidgetssourcetoolsstrexstringistringrtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithrxtablezeallot
Analyzing non-slendr tree sequences
Rendered fromvignette-08-nonslendr-tskit.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-11-21
Started: 2022-06-22
Demes on a regular spatial grid
Rendered fromvignette-02-grid-model.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-03-13
Started: 2021-07-16
Extending models with custom SLiM code
Rendered fromvignette-11-extensions.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-11-20
Started: 2024-05-07
Extracting true ancestry tracts
Rendered fromvignette-10-tracts.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-11-20
Started: 2023-11-27
Installation instructions
Rendered fromvignette-00-installation.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-03-18
Started: 2022-03-21
Introduction and basic tutorial
Rendered fromvignette-01-tutorial.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-11-21
Started: 2021-07-16
Programming dispersion dynamics
Rendered fromvignette-03-interactions.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-03-13
Started: 2021-07-16
Simulations using SLiM and msprime engines
Rendered fromvignette-07-engines.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-11-20
Started: 2024-11-14
Spatially annotated tree sequences
Rendered fromvignette-06-locations.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-03-13
Started: 2021-08-03
Traditional, non-spatial models
Rendered fromvignette-04-nonspatial-models.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-11-20
Started: 2021-07-16
Tree-sequence processing and statistics
Rendered fromvignette-05-tree-sequences.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-11-21
Started: 2021-07-22