get.obs.geno: Adds some error to genotype data

Description Usage Arguments Value Author(s)

Description

Simulates errors and adds it to the true data to obtain observed data. The alleles simulated by the function sim.geno.data are randomly misclassified and used to form new genotypes that represent the observed genotypes.

Usage

1
2
get.obs.geno(allele.A = NULL, allele.B = NULL, geno.model = NULL,
  MAF = NULL, geno.error = NULL)

Arguments

allele.A

Allele A

allele.B

Allele B

geno.model

genetic model; binary=0 and additive=1

MAF

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

geno.error

a vector with two values, the misclassififcation rates related to the sensitivity and specificity of the assessment of the alleles, i.e. 1-sensitivity and 1-specificity

Value

a dataframe that contains the below data: observed.genotype observed genotypes observed.allele.A observed A alleles observed.allele.B observed B alleles

Author(s)

Gaye A.


agaye/ESPRESSO.ExE documentation built on May 10, 2019, 7:30 a.m.