popImprov2Cyc: popImprov2Cyc function

Description Usage Arguments Details Value Examples

View source: R/PopulationImprovement.R

Description

Function to improve a simulated breeding population by one cycle. This version does two cycles of predicting F1 individuals and making new F1s

Usage

1
popImprov2Cyc(records, bsp, SP)

Arguments

records

The breeding program records object. See fillPipeline for details

bsp

List of breeding scheme parameters

SP

The AlphaSimR SimParam object

Details

This function uses penotypic records coming out of the product pipeline to choose individuals as parents to initiate the next breeding cycle

Value

A records object with the F1 Pop-class object updated with new progeny coming out of a population improvement scheme

Examples

1
2
3
4
5
6
7
8
bsp <- specifyPipeline()
bsp <- specifyPopulation(bsp)
initList <- initializeFunc(bsp)
SP <- initList$SP
bsp <- initList$bsp
records <- initList$records
records <- prodPipeSimp(records, bsp, SP)
records <- popImprov2Cyc(records, bsp, SP)

jeanlucj/AlfSimHlpR documentation built on Nov. 7, 2021, 5:10 p.m.