alleleEnrichment
(Package: boostSeq) :
Select a Subsample with Optimized Allele Frequencies from Genotyped Individuals
The function selects a user-defined number of samples from a larger cohort so that predefined alleles are guaranteed to be contained at a maximum frequency. It is also possible to require a balanced selection, matching the frequencies in the full cohort. Takes an arbitrary number of independent SNPs for which alleles are to be maximized, and can optionally also enrich phenotypes (have to be linearly scaled integer values).