R/rsq_liability.r
contingency.Rd
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)
Allele frequency of effect allele
Proportion of cases
Odds ratio
tolerance. Default = 1e-15
2x2 contingency table as matrix