SimParam_setTrackRec {AlphaSimR} | R Documentation |
Sets recombination tracking for the simulation.
By default recombination tracking is turned off. When turned
on recombination tracking will also turn on pedigree tracking.
Recombination tracking keeps records of all individuals created,
except those created by hybridCross
, because their
pedigree is not tracked.
isTrackRec |
should recombination tracking be on. |
force |
should the check for a running simulation be ignored. Only set to TRUE if you know what you are doing. |
SimParam$setTrackRec(isTrackRec, force = FALSE)
#Create founder haplotypes founderPop = quickHaplo(nInd=10, nChr=1, segSites=10) #Set simulation parameters SP = SimParam$new(founderPop) SP$setTrackRec(TRUE)