gxe.cc {clinUtiDNA} | R Documentation |
Estimation of gene-environment interaction on the additive scale for case-control data
gxe.cc(cases, contr, pD)
cases |
a vector containing numbers of cases observed in the gene environment groups <G=0,E=0>, <G=1,E=0>, <G=0,E=1> and <G=1,E=1> |
contr |
a vector containing numbers of controls observed in the gene environment groups <G=0,E=0>, <G=1,E=0>, <G=0,E=1> and <G=1,E=1> |
pD |
disease prevalence should be either less than 1 (for a known value) or a vector of observed numbers of affected and unaffected individuals from an external data set |
see Nguyen et al. 2013
GxE.cc |
a list containing the interaction estimate, the corresponding variance and the boundaries of the 95% of the confidence interval |
Thuy Trang Nguyen
Making Medical Decisions in Dependence of Genetic Background: Estimation of the Utility of DNA Testing in Clinical, Pharmaco-Epidemiological or Genetic Studies. Nguyen TT, Schaefer H, Timmesfeld N. Genet Epidemiol. 2013 Apr 4. doi: 10.1002/gepi.21701
gxe.coh
, utility.coh
, utility.cc
## Parameter initialisation cases <- c(36,10,84,25) contr <- c(100,4,63,2) pD <- c(22,9420) ## Calculation of the interaction effect gxe.cc(cases,contr,pD) # with pD estimated from external data gxe.cc(cases,contr,pD=0.002) # with known pD