HWE2sided.table: Table and plot of Hardy-Weinberg p-values for all 2x2 tables...

Description Usage Arguments Value Author(s) References See Also Examples

Description

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.

Usage

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

Arguments

maf

Minor allele frequency

n

Total genotype count

ylim

Y-axis range for plot

xlim

X-axis range for plot

Value

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

Author(s)

Alex Lewin

References

Kulinskaya and Lewin 2008

See Also

HWE2sided

Examples

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

LDtests documentation built on May 2, 2019, 2:44 p.m.