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-any)castgen_1.0.2.zip(r-4.6-any)castgen_1.0.2.zip(r-4.5-any)
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✨
DESCRIPTION |NEWS
card.svg |card.png
castgen/json (API)
| # 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 | OK | 133 | ||
| source / vignettes | OK | 174 | ||
| linux-release | OK | 139 | ||
| macos-release | OK | 168 | ||
| macos-oldrel | OK | 202 | ||
| windows-devel | OK | 99 | ||
| windows-release | OK | 97 | ||
| windows-oldrel | OK | 92 | ||
| wasm-release | OK | 93 |
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 |
