[R] Hardy Weinberg

David Duffy davidD at qimr.edu.au
Wed Jun 22 23:54:04 CEST 2011


> I am interested in simulating 10,000  2 x 3 tables for SNPs data with the
> Hardy Weinberg formulation. Is there a quick way to do this? I am assuming
> that the minor allelle frequency is uniform in (0.05, 0.25).

rmultinom() with HWE expectations



More information about the R-help mailing list