set.seed(123)
simulN(100, 1000, 50, .9, 12, .5)
#[1] "nsimout was generated"
str(nsimout)
#List of 4
#$ geno : num [1:100, 1:1000] 0 2 1 2 2 0 1 2 1 1 ...
#$ pheno : num [1:100, 1] 25.4 21.6 16 13.8 19.4 ...
#$ QTN : int [1:50] 568 474 529 349 45 732 416 51 413 514 ...
#$ Meffects: num [1:50] 0.2696 -0.1552 1.0192 0.0209 1.2023 ...
Run the code above in your browser using DataLab