Package: castgen 1.0.2

Alexander M. Sandercock

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:Alexander M. Sandercock [aut, cre]

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

On CRAN:

Conda:

breedingconservationgenomics

2.70 score 1 stars 3 scripts 164 downloads 2 exports 38 dependencies

Last updated from:2a218145ce. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK166
source / vignettesOK281
linux-release-x86_64OK149
macos-release-arm64OK235
macos-oldrel-arm64OK192
windows-develOK123
windows-releaseOK107
windows-oldrelOK95
wasm-releaseOK101

Exports:capture_diversity.Gmatcapture_diversity.VCF

Dependencies:apecliclustercodetoolsdigestdoParalleldplyrforeachgenericsglueiteratorslatticelifecyclemagrittrMASSMatrixmemusemgcvnlmepermutepillarpinfsc50pkgconfigR6rbibutilsRcppRdpackrlangstringistringrtibbletidyselectutf8vcfRvctrsveganviridisLitewithr