From: Combining identity by descent and association in genetic case-control studies
Genotype
Frequency
AA
q1 = Fp + (1 - F)p2
AB
q2 = 2p(1 - p)(1 - F)
BB
q3 = F(1 - p) + (1 - F)(1 - p)2
Sum
1