sim.pheno.bin.GxE: Generates phenotype status

View source: R/sim.pheno.bin.GxE.R

sim.pheno.bin.GxER Documentation

Generates phenotype status

Description

Generates affected and non-affected subjects

Usage

sim.pheno.bin.GxE(
  num.obs = NULL,
  disease.prev = NULL,
  genotype = NULL,
  environment = NULL,
  interaction = NULL,
  subject.effect.data = NULL,
  geno.OR = NULL,
  geno.frac_causal = 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

geno.frac_causal

Fraction of causal genetic variants

env.OR

Odds ratios of the two environments

int.OR

Odds ration of the interaction

Value

A dataframe of phenotype

Author(s)

Gaye A.; Westerman K.


kwesterman/ESPRESSO.GxE.RV documentation built on Aug. 27, 2023, 4:44 a.m.