sim.pheno.bin.G: Generates phenotype statuses

Description Usage Arguments Value Author(s)

Description

Generates affected and non-affected subjects using the genotypes.

Usage

1
2
sim.pheno.bin.G(num.obs = 10000, disease.prev = 0.1, genotype = NULL,
  subject.effect.data = NULL, geno.OR = 1.5)

Arguments

num.obs

number of observations to generate per iteration.

disease.prev

prevalence of the binary outcome.

genotype

a vector that represents the exposure data.

subject.effect.data

subject effect data, reflects the heterogenity in baseline disease risk.

geno.OR

odds ratio related to the 'at risk' genotype.

Value

a binary vector that represents the phenotype data.

Author(s)

Gaye A.


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