initializeProgram | R Documentation |
Function to initialize the simulation. Read the founder genetic architecture and population genetic parameters. Create simulation data structures.
initializeProgram(founderFile, schemeFile, costFile, optimizationFile)
founderFile |
String name of the text file with parameters governing the founders and the genetic architecture |
schemeFile |
String name of the text file with parameters governing the variety development pipeline and selection functions |
Call this function at the beginning of the simulation
Named list containing the 'AlphaSimR' SP file, breedingPop the breeding population, varietyCand an empty pop for variety candidates, phenoRecords an empty tibble for phenotype records
bsd <- initializeProgram("FounderCtrlFile.txt", "SchemeCtrlFile.txt",
"CostsCtrlFile.txt", "OptimizationCtrlFile.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.