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

Description Usage Arguments Value Author(s)

Description

Uses THE function make.obs.geno to generate effect data with a set level of error

Usage

1
2
get.observed.data.LD(data = NULL, g1.error = NULL, g1.model = NULL,
  freq1 = NULL, g2.error = NULL, g2.model = NULL, freq2 = NULL)

Arguments

data

Input table of simulated data considered as true data

g1.error

Misclassification rates in the assessment of the first genetic variant: 1-sensitivity and 1-specificity

g1.model

Genetic model of the first genetic variant; 0 for binary and 1 for additive

freq1

Minor allele frequency of the first genetic variant

g2.error

Misclassification rates in the assessment of the second genetic variant: 1-sensitivity and 1-specificity

g2.model

Genetic model of the second genetic variant; 0 for binary and 1 for additive

freq2

Minor allele frequency of the second genetic variant

Value

A matrix

Author(s)

Gaye A


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