MFree.test {iGasso} | R Documentation |
Model-free Association Tests
Description
MFree.test
performs tests on association between an SNP and case-control status. It tests whether the frequencies of an allele are the same between cases and controls. It does not require specification of an inheritance model.
Usage
MFree.test(G, method = "score")
Arguments
G |
a |
method |
a character string indicating the test statistic to use. One of |
Details
Each test is named after the author(s) of the corresponding publication.
Value
A list with class "test
" containing the following components:
* statistic the value of the test statistic.
* p.value the p-value for the test computed from a chi-square distribution with 1 df.
* method a character string indicting the test performed.
* data.name a character string giving the name of the data.
Author(s)
Kai Wang <kai-wang@uiowa.edu>
References
Wang K. (2012) Statistical tests of genetic association for case-control study designs. Biostatistics. 13(4):724-33. PMID: 22389176
Examples
G = rbind(c(161, 474, 489), c(231, 444, 380))
MFree.test(G)
MFree.test(G, method = "Wald")
MFree.test(G, method = "LRT")