function specify the product pipeline. This would not need to be a function, but this way all definitions are in one place

specifyPipeline(bsp = NULL, ctrlFileName = NULL)

Arguments

bsp

A list of objects to combine with the pipeline parameters. bsp is short for breeding sheme parameters

ctrlFileName

The name of the text file with parameter values controling the simulation. Must include the path to the file. If NULL a toy example simulation will be set up

Value

A list containing objects that specify the product pipeline. This list will determine the number of lists in the records object

Details

Call this function before beginning the simulation

Examples

bsp <- specifyPipeline()
#> 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