This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How To Calculate 95% Ci In Genotypes And In Alleles By Using Hardy–Weinberg Test?

My data is here

Genotype

AA AG GG

12 4 9

Thanks

test

2 answers

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.

Log in to answer this question.