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

Description Usage Arguments Value Author(s)

Description

The function uses the effects data of the genetic determinant 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.G(num.subjects = 10000, pheno.mean = 0, pheno.sd = 1,
  genotype = NULL, geno.efkt = 0.25)

Arguments

num.subjects

number of subjects to generate.

pheno.mean

statistical mean

pheno.sd

standard deviation

genotype

a vector that represents the exposure data

geno.efkt

effect size of related to the 'at risk' allele.

Value

a binary vector that represents the phenotype data.

Author(s)

Gaye A.


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