R/generate_individuals.r
choose_effects.Rd
Get vector of effects that explain some amount of variance
choose_effects(nsnp, totvar, sqrt = TRUE, mua = 0)
Number of SNPs
Total variance explained by all SNPs
Output effect sizes in terms of standard deviations. Default=TRUE
Constant term to be added to effects. Default = 0
Vector of effects