initializeProgram: initializeProgram function

View source: R/Utilities.R

initializeProgramR Documentation

initializeProgram function

Description

Function to initialize the simulation. Read the founder genetic architecture and population genetic parameters. Create simulation data structures.

Usage

initializeProgram(founderFile, schemeFile, costFile, optimizationFile)

Arguments

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

Details

Call this function at the beginning of the simulation

Value

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

Examples

bsd <- initializeProgram("FounderCtrlFile.txt", "SchemeCtrlFile.txt", 
                         "CostsCtrlFile.txt", "OptimizationCtrlFile.txt")


jeanlucj/BreedSimCost documentation built on July 21, 2023, 1:59 a.m.