powered by
Randomly assigns eligble SNPs to a SNP chip
number of SNPs per chromosome. Can be a single value or nChr values.
should the check for a running simulation be ignored. Only set to TRUE if you know what you are doing.
SP$addSnpChip(nSnpPerChr, force = FALSE)
# NOT RUN { #Create founder haplotypes founderPop = quickHaplo(nInd=10, nChr=1, segSites=10) #Set simulation parameters SP = SimParam$new(founderPop) SP$addSnpChip(10) # }
Run the code above in your browser using DataLab