simBeta | R Documentation |
The function takes in a proportion of causal eQTLs and total heritability of eQTLs and generates n_snps eQTL effect sizes
simBeta(p.causal, eqtl_h2, n_snps)
p.causal |
numeric, proportion of causal eQTLs |
eqtl_h2 |
numeric, heritability of expression from eQTLs |
n_snps |
integer, number of eQTLs |
vector of effect sizes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.