set.seed(123)
simulU(100, 1000, 50, 12, .5)
#[1] "usimout was generated"
str(usimout)
#List of 4
#$ geno : num [1:100, 1:1000] 0 2 1 2 2 0 1 2 1 1 ...
#$ pheno : num [1:100, 1] 10.3 14.7 11.8 10.2 13.1 ...
#$ QTN : int [1:50] 568 474 529 349 45 732 416 51 413 514 ...
#$ Meffects: num [1:50] 0.2355 0.0158 -0.1369 -0.1246 0.7426 ...
Run the code above in your browser using DataLab