powered by
Sets restrictions on which segregating sites can serve as SNP and/or QTL.
the maximum number of segSites for QTLs. Can be a single value or a vector values for each chromosome.
the maximum number of segSites for SNPs. Can be a single value or a vector values for each chromosome.
should SNP and QTL sites be allowed to overlap.
minimum allowable frequency for SNP loci. No minimum SNP frequency is used if value is NULL.
should the check for a running simulation be ignored. Only set to TRUE if you know what you are doing.
SP$restrSegSites(maxQtl = 0, maxSnp = 0, snpQtlOverlap = FALSE, minSnpFreq = NULL, force = FALSE)
# NOT RUN { #Create founder haplotypes founderPop = quickHaplo(nInd=10, nChr=1, segSites=10) #Set simulation parameters SP = SimParam$new(founderPop) SP$restrSegSites(maxQtl=5, maxSnp=5) # }
Run the code above in your browser using DataLab