eqtl_simulator: Simulating eQTL phenotypes.

Description Usage Arguments Value

View source: R/eqtl_simulator.R

Description

Generates a phenotype matrix based on a given input genotype matrix.

Usage

1
2
3
eqtl_simulator(genotypes, n.pheno = NULL, n.eqtl = NULL,
  cis.trans.ratio = NULL, trans.impact = NULL, trans.nerf = NULL,
  coeff.sample = NULL, cis.sd = NULL)

Arguments

genotypes

A genotype matrix with dimensions N x g.

n.pheno

Number of phenotypes to simulate

n.eqtl

Number of eQTL pairs

cis.trans.ratio

Ratio between cis and trans hits

trans.impact

Maximum percentage of total genes a trans hit can influence.

trans.nerf

Ratio of trans effect size compared to cis-hits. Accounts for the observation that trans hits usually have smaller effect sizes.

coeff.sample

A vector from which the effect sizes (coefficiens) are going to be sampled from.

Value

Phenotype matrix with dimensions N x n.pheno


jinhyunju/eQTLtools documentation built on May 19, 2019, 10:35 a.m.