sim.pheno.qtl.E: Generates quantitative outcome data

Description Usage Arguments Value Author(s)

Description

The function uses the effects data of the determinants to construct a linear predictor(LP). The outcome is a normally distributed variable generated with a mean equal to the LP and a standard deviation of 1.

Usage

1
2
sim.pheno.qtl.E(num.subjects = 10000, pheno.mean = 0, pheno.sd = 1,
  environment = NULL, env.efkt = 0.25)

Arguments

num.obs

number of subjects to generate.

pheno.mean

mean of the outcome variable in the study population

pheno.sd

standard deviation of the outcome in the study population

environment

environmental exposure data.

env.efkt

effect size of the environmental exposure.

Value

a numeric vector, the phenotype data

Author(s)

Gaye A.


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