get.observed.data.G: Generates outcome and exposure data with some added error

Description Usage Arguments Value Author(s)

Description

Adds a specified level of error to exposure data to generate the 'observed' data. See get.obs.pheno and get.obs.geno for details on how the observed outcome and exposure data are obtained.

Usage

1
2
get.observed.data.G(true.data = NULL, geno.model = 0, MAF = 0.1,
  geno.error = c(0.05, 0.05))

Arguments

true.data

input table of simulated data considered as error free.

geno.model

Genetic model; 0 for binary and 1 for continuous

MAF

minor allele frequency of the SNP (in ESPRESSO this is the frequency of the 'at risk' allele)

geno.error

misclassification rates in the assessment of the SNP alleles: 1-sensitivity and 1-specificity

Value

A matrix which contains the observed outcome and exposure data

Author(s)

Gaye A.


agaye/ESPRESSO.G documentation built on May 10, 2019, 7:31 a.m.