sim.pheno.bin.GxG: Generates phenotype status

Description Usage Arguments Value Author(s)

Description

Generates affected and non-affected subjects

Usage

1
2
3
sim.pheno.bin.GxG(num.obs = NULL, disease.prev = NULL, genotype1 = NULL,
  genotype2 = NULL, interaction = NULL, subject.effect.data = NULL,
  geno1.OR = NULL, geno2.OR = NULL, int.OR = NULL)

Arguments

num.obs

Number of observations to generate per iteration

disease.prev

Prevalence of the binary outcome

genotype1

Exposure data for 1st genetic determinant

genotype2

Exposure data for 2st genetic determinant

interaction

data

subject.effect.data

Subject effect data, reflects the heterogenity in baseline disease risk

geno1.OR

Odds ratios of the 1st genetic determinant

geno2.OR

Odds ratios of the 2st genetic determinant

int.OR

Odds ration of the interaction

Value

A dataframe of phenotype

Author(s)

Gaye A.


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