sim.pheno.qtl.ExE: 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.ExE(numsubjects = NULL, pheno.mean = NULL, pheno.sd = NULL,
  environment1 = NULL, env1.efkt = NULL, environment2 = NULL,
  env2.efkt = NULL, interaction = NULL, int.efkt = NULL)

Arguments

num.subjects

Number of subjects to simulate

pheno.mean

statistical mean

pheno.sd

standard deviation

environment1

Exposure data for the first determinant

env1.efkt

Effects of the first determinant

environment2

Exposure data for the second determinant

env2.efkt

Effects of the second determinant

interaction

data

int.efkt

Interaction effect

Value

A dataframe of phenotype

Author(s)

Gaye A.


agaye/ESPRESSO.ExE documentation built on May 10, 2019, 7:30 a.m.