MFree.test | R Documentation |
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.
MFree.test(G, method = "score")
G |
a |
method |
a character string indicating the test statistic to use. One of |
Each test is named after the author(s) of the corresponding publication.
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.
Kai Wang <kai-wang@uiowa.edu>
Wang K. (2012) Statistical tests of genetic association for case-control study designs. Biostatistics. 13(4):724-33. PMID: 22389176
G = rbind(c(161, 474, 489), c(231, 444, 380))
MFree.test(G)
MFree.test(G, method = "Wald")
MFree.test(G, method = "LRT")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.