Package: CKMRpop 0.1.3.9999
CKMRpop: Forward-in-Time Simulation and Tallying of Pairwise Relationships
Provides an R wrapper around the program 'spip' (<https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1471-8286.2005.00884.x>), a C program for the simulation of pedigrees within age-structured populations with user-specified life histories. Also includes a variety of functions to parse 'spip' output to compile information about related pairs amongst simulated, sampled individuals, to assess the feasibility and potential accuracy of close-kin mark-recapture (CKMR). Full documentation and vignettes are mirrored at <https://eriqande.github.io/CKMRpop/index.html> and can be read online there.
Authors:
CKMRpop_0.1.3.9999.tar.gz
CKMRpop_0.1.3.9999.zip(r-4.5)CKMRpop_0.1.3.9999.zip(r-4.4)CKMRpop_0.1.3.9999.zip(r-4.3)
CKMRpop_0.1.3.9999.tgz(r-4.4-x86_64)CKMRpop_0.1.3.9999.tgz(r-4.4-arm64)CKMRpop_0.1.3.9999.tgz(r-4.3-x86_64)CKMRpop_0.1.3.9999.tgz(r-4.3-arm64)
CKMRpop_0.1.3.9999.tar.gz(r-4.5-noble)CKMRpop_0.1.3.9999.tar.gz(r-4.4-noble)
CKMRpop_0.1.3.9999.tgz(r-4.4-emscripten)CKMRpop_0.1.3.9999.tgz(r-4.3-emscripten)
CKMRpop.pdf |CKMRpop.html✨
CKMRpop/json (API)
NEWS
# Install 'CKMRpop' in R: |
install.packages('CKMRpop', repos = c('https://eriqande.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/eriqande/ckmrpop/issues
- empty_crp - A tibble like that produced by 'compile_related_pairs()', but with zero rows
- example_amms - A list of examples of ancestry-match matrices
- growth_0.01_results - The result of running spip with growth 0.01 in the population-growth-with-spip vignette
- growth_n0.005_results - The result of running spip with growth -0.005 in the population-growth-with-spip vignette
- half_first_cousin_amm - A half-first cousin ancestry match matrix
- necessary_generations - Minimum number of generations for the ancestry match matrix to include relationship types
- relationship_zone_names - Relationship zone names
- species_1_life_history - A list of life-history / life-table data for a hypothetical species
- species_1_slurped_results - The result of running spip in the species_1_simulation vignette.
- species_1_slurped_results_100_loci - The result of running spip in the species_1_simulation vignette with 100 loci.
- species_1_slurped_results_1gen - The result of running spip in the species_1_simulation vignette and slurping out with num_generations = 1.
- species_2_life_history - A list of life-history / life-table data for another hypothetical species
- three_pops_no_mig_slurped_results - The result of running spip and slurping the output in the three population case with no migration
- three_pops_with_mig_slurped_results - The result of running spip and slurping the output in the three population case with migration
Last updated 12 months agofrom:710484f926. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win-x86_64 | OK | Nov 22 2024 |
R-4.5-linux-x86_64 | OK | Nov 22 2024 |
R-4.4-win-x86_64 | OK | Nov 22 2024 |
R-4.4-mac-x86_64 | OK | Nov 22 2024 |
R-4.4-mac-aarch64 | OK | Nov 22 2024 |
R-4.3-win-x86_64 | OK | Nov 22 2024 |
R-4.3-mac-x86_64 | OK | Nov 22 2024 |
R-4.3-mac-aarch64 | OK | Nov 22 2024 |
Exports:%>%amm2tibbleanc_match_masksancestor_abbrvscat_dom_relatcompile_related_pairscount_and_plot_ancestry_matricescount_and_plot_mate_distributiondownsample_pairsfind_ancestors_and_relatives_of_samplesggplot_census_by_year_age_sexinstall_spipleslie_from_spipplot_amm_from_matrixplot_conn_compsprepare_for_dfsprimary_ancestor_pairsrcpp_ancestors_and_relativesrelationship_zone_perimetersrelatives_from_ancestry_vectorsrun_spipslurp_spipspip_existsspip_helpspip_help_fullsummarize_offspring_and_mate_numberssummarize_survival_from_censusuncooked_spaghetti
Dependencies:bitbit64cachemclicliprcolorspacecpp11crayondplyrfansifarverfastmapgenericsggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtablehmsigraphisobandlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmunsellnlmepillarpkgconfigpolyclipprettyunitsprogresspurrrR6RColorBrewerRcppRcppArmadilloRcppEigenreadrrlangscalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrtzdbutf8vctrsviridisviridisLitevroomwithr
A Simple Example With Migration
Rendered fromsimple-example-with-migration.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-02-21
Started: 2021-06-10
About spip
Rendered fromabout_spip.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2021-06-10
Started: 2021-04-28
population-growth-with-spip
Rendered frompopulation-growth-with-spip.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-12-04
Started: 2023-12-04
Simulation from species 1 life history
Rendered fromspecies_1_simulation.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-02-21
Started: 2020-11-16
Using Other Simulation Programs with CKMRpop
Rendered fromusing-other-simulation-programs.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-02-21
Started: 2021-08-20