Chunk #24 — Methods — Simulation — Generating SNPs
Text
Denote the low and high risk alleles at a disease locus D as D1 and D2, with population frequencies p1 and p2. Assuming Hardy-Weinberg equilibrium, the population prevalence (K) of the disease is(16)where f11, f12 and f22 are the penetrances of the three genotypes D1D1, D1D2 and D2D2.