gxe.cc: Estimation of gene-environment interaction on the additive...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/gxe.cc.R

Description

Estimation of gene-environment interaction on the additive scale for case-control data

Usage

1
gxe.cc(cases, contr, pD)

Arguments

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

Details

see Nguyen et al. 2013

Value

GxE.cc

a list containing the interaction estimate, the corresponding variance and the boundaries of the 95% of the confidence interval

Author(s)

Thuy Trang Nguyen

References

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

See Also

gxe.coh, utility.coh, utility.cc

Examples

1
2
3
4
5
6
7
## 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

clinUtiDNA documentation built on May 2, 2019, 9:27 a.m.