powered by
Operates within odds_ratio_function to calculate odds ratios for a Test.Model of "Recessive"
rec.or.function(like, Case.Rate, P_AA, P_AB, P_BB, True.Model, risk_allele)
Expected log likelihood
proportion of cases in the sample (cases/(cases + controls)).
Probability the allele is homozygous for the major allele
Probability the allele is heterozygous
Probability the allele is homozygous for the minor allele
A vector object specifying the true underlying genetic model(s): 'Dominant', 'Additive', or 'Recessive'
Logical: If OR > 1, the allele is classified as a "risk allele"
: The odds ratios and their corresponding genetic model(s)
# NOT RUN { rec.or.function(like=-0.57162, Case.Rate=0.3, P_AA=0.5625, P_AB=0.375, P_BB=0.0625, True.Model="Recessive", risk_allele=TRUE) # }
Run the code above in your browser using DataLab