Example 1: MAF from AA, AG, and GG
A SNP has AA = 42, AG = 46, and GG = 12 in 100 individuals. The A count equals 2(42) + 46 = 130. The G count equals 2(12) + 46 = 70.
The total allele number equals 200. A frequency equals 0.65, and G frequency equals 0.35. MAF equals 0.35, so G is the minor allele in this sample.
