sim.QTL.data.LD: Simulates subjects for continuous outcome

Description Usage Arguments Value Author(s)

Description

Generates the specified number of subjects

Usage

1
2
3
sim.QTL.data.LD(n = NULL, ph.mean = NULL, ph.sd = NULL, freq1 = NULL,
  freq2 = NULL, g1.model = NULL, g1.efkt = NULL, g2.model = NULL,
  g2.efkt = NULL, ld = NULL, r = NULL, pheno.rel = NULL)

Arguments

n

Number of subjects to simulate

ph.mean

statistical mean

ph.sd

standard deviation

freq1

Minor allele frequency if the 1st of the two genetic variant

freq2

Minor allele frequency if the 2nd of the two genetic variant

g1.model

Genetic model; 0 for binary and 1 for additive

g1.efkt

Effects of the 1st genetic variant

g2.model

Genetic model; 0 for binary and 1 for additive

g2.efkt

Effects of the 2nd genetic variant

r

desired level of correlation if the two SNPs are modelled as being in LD.

pheno.rel

reliability of the assessment for a quantitative outcome.

Value

A matrix

Author(s)

Gaye A.


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