data(rareGEgeno)
data(rareGEpheno)
# quantitative traits - testing for gene-BMI interactions
INT_FIX(rareGEpheno$y1, rareGEgeno, rareGEpheno[, c("bmi", "age", "sex")])
# dichotomous traits - testing for gene-BMI interactions
INT_FIX(rareGEpheno$y2, rareGEgeno, rareGEpheno[, c("bmi", "age", "sex")],
family = "binomial")
Run the code above in your browser using DataLab