productPipelinePostBurnIn.Rd
Example: post burn-in
productPipelinePostBurnIn(records, bsp, SP)
records | The breeding program |
---|---|
bsp | the original parameter set used |
SP | the AlphaSimR SimParam object |
newbsp | the new list of breeding scheme parameters |
A records object that has new records created by advancing by a generation
function to advance a simulated breeding product pipeline forward by one generation. See Gaynor et al. 2017 for the general idea.
The breeding program product pipeline will have been set by initializeFunc. This function moves the breeding program along by one generation and saves all the resulting phenotypes to the records object.
#> Error in if (bsp$nSNP + bsp$nQTL >= bsp$segSites) { print("The number of segregating sites (segSites) has to be greater than the number of SNPs (nSNP) and the number of QTL (nQTL). segSites set 10% bigger than nSNP + nQTL") bsp$segSites <- round((bsp$nSNP + bsp$nQTL) * 1.1) + 1}: argument is of length zero#> Error in mget(setdiff(ls(), "bspNew")): object 'bsp' not foundinitList <- initializeFunc(bsp)#> Error in initializeFunc(bsp): could not find function "initializeFunc"SP <- initList$SP#> Error in eval(expr, envir, enclos): object 'initList' not foundbsp <- initList$bsp#> Error in eval(expr, envir, enclos): object 'initList' not foundrecords <- initList$records#> Error in eval(expr, envir, enclos): object 'initList' not found#> Error in productPipeline(records, bsp, SP): object 'records' not foundrecords <- popImprov1(records, bsp, SP)#> Error in popImprov1(records, bsp, SP): could not find function "popImprov1"