Table and plot of HWE p-values for all possible contingency tables consistent with the margins of the input observed contingency table. See `HWE2sided`

for details of the p-values calculated.

1 | ```
HWE2sided.table(maf, n, ylim = c(0, 1), xlim = NULL)
``` |

`maf` |
Minor allele frequency |

`n` |
Total genotype count |

`ylim` |
Y-axis range for plot |

`xlim` |
X-axis range for plot |

Outputs the table of HWE p-values for all the contingency tables consistent with the margins of the input table.

Alex Lewin

Kulinskaya and Lewin 2008

`HWE2sided`

1 2 3 | ```
HWE2sided.table(0.17,100)
geno <- c(20,73,7)
HWE2sided(geno)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.