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>.
Package details |
|
---|---|
Author | Alexander M. Sandercock [aut, cre] (<https://orcid.org/0000-0001-6897-1856>) |
Maintainer | Alexander M. Sandercock <ams866@cornell.edu> |
License | Apache License (>= 2) |
Version | 1.0.2 |
URL | https://github.com/alex-sandercock/castgen |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.