HWLRAllTests: Perform most relevant likelihood ratio test for Hardy-Weinberg
equilibrium and equality of allele frequencies
Description
Function HWLRAllTests performs a set of likelihood ratio tests in
relation with Hardy-Weinberg proportions (HWP) and equality of allele
frequencies (EAF) for autosomal bi-allelic genetic variants.
Function HWLRAllTests calls HWLRtest and calculates the
p-value of six different tests: 1) joint HWP and EAF (A-F); 2) EAF
irrespective of HWP (C-F); 3) HWP irrespective of EAF (D-F); 4) HWP
versus EIC (given EAF) (A-B); 5) EIC irrespective of EAF (E-F) and 6)
HWP versus EIC. Letters refer to scenarios described by Graffelman &
Weir (2018).
References
Graffelman, J. and Weir, B.S. (2018) On the testing of Hardy-Weinberg
proportions and equality of allele frequencies in males and females at
bi-allelic genetic
markers. Genetic Epidemiology 42(1): pp. 34--48. tools:::Rd_expr_doi("10.1002/gepi.22079")