# coverage for one population at 10 sites
simReads(mean = 20, variance = 100, nSNPs = 10)
# simulate coverage at one locus with 10 SNPs for two populations:
# the first with 100x and the second with 50x
simReads(mean = c(100, 50), variance = c(250, 150), nSNPs = 10)
Run the code above in your browser using DataLab