Package: slendr 1.0.1


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.1.tar.gz
slendr_1.0.1.zip(r-4.5)slendr_1.0.1.zip(r-4.4)slendr_1.0.1.zip(r-4.3)
slendr_1.0.1.tgz(r-4.5-any)slendr_1.0.1.tgz(r-4.4-any)slendr_1.0.1.tgz(r-4.3-any)
slendr_1.0.1.tar.gz(r-4.5-noble)slendr_1.0.1.tar.gz(r-4.4-noble)
slendr_1.0.1.tgz(r-4.4-emscripten)slendr_1.0.1.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 8 hours agofrom:301e313d96. Checks:1 ERROR, 7 WARNING. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | FAIL | Feb 18 2025 |
R-4.5-win | WARNING | Feb 18 2025 |
R-4.5-mac | WARNING | Feb 18 2025 |
R-4.5-linux | WARNING | Feb 18 2025 |
R-4.4-win | WARNING | Feb 18 2025 |
R-4.4-mac | WARNING | Feb 18 2025 |
R-4.3-win | WARNING | Feb 18 2025 |
R-4.3-mac | WARNING | Feb 18 2025 |
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:apebackportsbase64encbitbit64bmpbslibcachemcheckmateclicliprcolorspacecommonmarkcpp11crayondigestdownloaderdplyrfansifarverfastmapfontawesomefsgenericsggplot2ggrepelgluegtableherehmshtmltoolshttpuvigraphijtiffimagerisobandjpegjquerylibjsonlitelabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmepillarpkgconfigpngprettyunitsprogresspromisespurrrR6rappdirsRColorBrewerRcppRcppTOMLreadbitmapreadrreticulaterlangrprojrootsassscalesshinyshinyWidgetssourcetoolsstrexstringistringrtibbletidyrtidyselecttifftzdbutf8vctrsviridisLitevroomwithrxtablezeallot