Description Usage Arguments Value
View source: R/eqtl_simulator.R
Generates a phenotype matrix based on a given input genotype matrix.
1 2 3 |
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. |
Phenotype matrix with dimensions N x n.pheno
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.