My data is here
AA AG GG
12 4 9
Check out the HardyWeinberg package in [R]
CRAN - LINK
Thanks for your link, however it doesn't calculate 95% CI! Though I searched other programe in R and found genetics was doing it perfectly. So thanks for showing me the path!
The genetics package? Glad to help.
You can also use the plink package, with the option --hardy. It doesn't require R, and it gives a p-value which may be similar to the confidence interval that you are asking for.
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy