This function calculates Hardy-Weinburg (Fisher's) exact p-values for GWAS SNP data.
A dataframe of genotype counts, with columns called
A vector of exact p-values.
This function uses a C function
SNPHWE.c written by Jan Wigginton as described in the above reference.
Wigginton, JE, Cutler, DJ, and Abecasis, GR (2005) A Note on Exact Tests of Hardy-Weinberg Equilibrium. American Journal of Human Genetics. 76
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.