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.
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.