View source: R/generate_individuals.r
choose_effects | R Documentation |
Get vector of effects that explain some amount of variance
choose_effects(nsnp, totvar, sqrt = TRUE, mua = 0)
nsnp |
Number of SNPs |
totvar |
Total variance explained by all SNPs |
sqrt |
Output effect sizes in terms of standard deviations. Default=TRUE |
mua |
Constant term to be added to effects. Default = 0 |
Vector of effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.