sim.pheno.qtl.GxE: Simulates continuous outcome data

Description Usage Arguments Value Author(s)

Description

Uses the effects data of the determinants to construct a linear predictor(LP). The outcome is normally distributed variable generated with a mean equal to LP and a standard deviation of 1. Some error is then added to the simulated outcome to obtained the observed outcome.

Usage

1
2
3
sim.pheno.qtl.GxE(numsubjects = NULL, pheno.mean = NULL, pheno.sd = NULL,
  genotype = NULL, geno.efkt = NULL, environment = NULL,
  env.efkt = NULL, interaction = NULL, int.efkt = NULL)

Arguments

num.subjects

Number of subjects to simulate

pheno.mean

statistical mean

pheno.sd

standard deviation

genotype

Genotype

geno.efkt

Effects of the genetic variant

environment

Exposure data for environment

env.efkt

Effects of the environmental determiants

interaction

data

int.efkt

Interaction effect

Value

A dataframe of phenotype

Author(s)

Gaye A.


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