a non-negative integer, the frequency of genotype "allele1/allele1" in case samples.
case_12
a non-negative integer, the frequency of genotype "allele1/allele2" in case samples.
case_22
a non-negative integer, the frequency of genotype "allele2/allele2" in case samples.
control_11
a non-negative integer, the frequency of genotype "allele1/allele1" in control samples.
control_12
a non-negative integer, the frequency of genotype "allele1/allele2" in control samples.
control_22
a non-negative integer, the frequency of genotype "allele2/allele2" in control samples.
n
an integer specifying the number to generate.
Value
perm_case_11
a vector with 'n' elements.
perm_case_12
a vector with 'n' elements.
perm_case_22
a vector with 'n' elements.
perm_control_11
a vector with 'n' elements.
perm_control_12
a vector with 'n' elements.
perm_control_22
a vector with 'n' elements.
Details
Fill the numerics of 2*3 table when fixed the row and column totals, by twice generating
random numbers for the hypergeometric distribution, based on the putting data.
References
William S Noble(Nat Biotechnol.2009): How does multiple testing correction work?