get.observed.data.GxE: Generates exposure data with some error

View source: R/get.observed.data.GxE.R

get.observed.data.GxER Documentation

Generates exposure data with some error

Description

Uses functions make.obs.geno and make.obs.env to generate effect data with a set level of error

Usage

get.observed.data.GxE(
  data = NULL,
  g.error = NULL,
  g.model = NULL,
  freq = NULL,
  e.error = NULL,
  e.model = NULL,
  e.prev = NULL,
  e.sd = NULL,
  e.reliability = NULL
)

Arguments

data

Input table of simulated data considered as true data

g.error

Misclassification rates in genetic assessment: 1-sensitivity and 1-specificity

g.model

Genetic model; 0 for binary and 1 for additive

freq

Minor allele frequency

e.error

Misclassification rates in environmental exposures assessment: 1-sensitivity and 1-specificity

e.model

Model of the exposure: binary=0, quantitative-normal=1 or quantitative-uniform=2

e.prev

Prevalence of environmental exposure

e.sd

Standard Deviation

e.reliability

Reliability of the assessment of quantitative exposure

Value

A matrix

Author(s)

Gaye A.; Westerman K.


kwesterman/ESPRESSO.GxE.RV documentation built on Aug. 27, 2023, 4:44 a.m.