splatPopeQTLEffects: Assign eGenes-eSNPs pairs and effect sizes.

Description Usage Arguments Value

View source: R/splatPop-simulate.R

Description

Randomly pairs N genes (eGene) a SNP (eSNP) within the window size (eqtl.dist) and assigns each pair an effect size sampled from a gamma distribution parameterized using the effect sizes from a real eQTL study.

Usage

1
splatPopeQTLEffects(params, key, vcf)

Arguments

params

SplatPopParams object containing parameters for population scale simulations. See SplatPopParams for details.

key

Partial splatPop key data.frame.

vcf

VariantAnnotation object containing genotypes of samples.

Value

The key updated with assigned eQTL effects.


splatter documentation built on Dec. 3, 2020, 2:01 a.m.