View source: R/rsq_liability.r
contingency | R Documentation |
Columns are the case and control frequencies Rows are the frequencies for allele 1 and allele 2
contingency(af, prop, odds_ratio, eps = 1e-15)
af |
Allele frequency of effect allele |
prop |
Proportion of cases |
odds_ratio |
Odds ratio |
eps |
tolerance. Default = 1e-15 |
2x2 contingency table as matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.