sim.pheno.bin.GxE: Generates phenotype status

Description Usage Arguments Value Author(s)

Description

Generates affected and non-affected subjects

Usage

1
2
3
sim.pheno.bin.GxE(num.obs = NULL, disease.prev = NULL, genotype = NULL,
  environment = NULL, interaction = NULL, subject.effect.data = NULL,
  geno.OR = NULL, env.OR = NULL, int.OR = NULL)

Arguments

num.obs

Number of observations to generate per iteration

disease.prev

Prevalence of the binary outcome

genotype

Exposure data for genetic determinant

environment

Exposure data for environment

interaction

data

subject.effect.data

Subject effect data, reflects the heterogenity in baseline disease risk

geno.OR

Odds ratios of the genetic determinant

env.OR

Odds ratios of the two environments

int.OR

Odds ration of the interaction

Value

A dataframe of phenotype

Author(s)

Gaye A.


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