powered by
Operates within add.or.function to solve for 'a' when 'b' is known in an additive model
solve_a(b, cr, P_AA, P_AB, P_BB)
The "b" in the binomial function ax^2 + bx + c that arises in solution for the additive OR functions
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
: The "a" in the binomial function ax^2 + bx + c that arises in solution for the additive OR functions
# NOT RUN { solve_a(0.1493558, 0.3, 0.5625, 0.375, 0.062) # }
Run the code above in your browser using DataLab