Description Usage Arguments Details Value Author(s) Examples
Generate a vector of SNP effect sizes. Supports various signal strength distributions.
1 | genSignal(NSignalSnps, NTotalSNPs, heritability, signalDistr = "Same")
|
NSignalSnps |
Number of causal SNPs. |
signalDistr |
Distribution of effect sizes. Has to be "Same", "Normal", or "Uniform". |
NTotalSNPs |
Total number of SNPs. |
heritability |
SNP heritability, a value between 0 and 1. |
The function generates a signal effect size vector
that can be used in gwasFast
.
Return a vector of length NTotalSNPs
.
Andrey A Shabalin andrey.shabalin@gmail.com
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.