Package: castgen 1.0.2
castgen: Estimate Sample Size for Population Genomic Studies
Estimate sample sizes needed to capture target levels of genetic diversity from a population (multivariate allele frequencies) for applications like germplasm conservation and breeding efforts. Compares bootstrap samples to a full population using linear regression, employing the R-squared value to represent the proportion of diversity captured. Iteratively increases sample size until a user-defined target R-squared is met. Offers a parallelized R implementation of a previously developed 'python' method. All ploidy levels are supported. For more details, see Sandercock et al. (2024) <doi:10.1073/pnas.2403505121>.
Authors:
castgen_1.0.2.tar.gz
castgen_1.0.2.zip(r-4.7)castgen_1.0.2.zip(r-4.6)castgen_1.0.2.zip(r-4.5)
castgen_1.0.2.tgz(r-4.6-any)castgen_1.0.2.tgz(r-4.5-any)
castgen_1.0.2.tar.gz(r-4.7-any)castgen_1.0.2.tar.gz(r-4.6-any)
castgen_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
castgen/json (API)
NEWS
| # Install 'castgen' in R: |
| install.packages('castgen', repos = c('https://alex-sandercock.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alex-sandercock/castgen/issues
Last updated from:2a218145ce. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 166 | ||
| source / vignettes | OK | 281 | ||
| linux-release-x86_64 | OK | 149 | ||
| macos-release-arm64 | OK | 235 | ||
| macos-oldrel-arm64 | OK | 192 | ||
| windows-devel | OK | 123 | ||
| windows-release | OK | 107 | ||
| windows-oldrel | OK | 95 | ||
| wasm-release | OK | 101 |
Exports:capture_diversity.Gmatcapture_diversity.VCF
Dependencies:apecliclustercodetoolsdigestdoParalleldplyrforeachgenericsglueiteratorslatticelifecyclemagrittrMASSMatrixmemusemgcvnlmepermutepillarpinfsc50pkgconfigR6rbibutilsRcppRdpackrlangstringistringrtibbletidyselectutf8vcfRvctrsveganviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Estimate Minimum Number of Individuals to Sample to Capture Population Genomic Diversity (Genotype Matrix) | capture_diversity.Gmat |
| Estimate Minimum Number of Individuals to Sample to Capture Population Genomic Diversity (VCF) | capture_diversity.VCF |
