popImprov1Cyc: popImprov1Cyc 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 takes phenotyped individuals and crosses them to create new F1

Usage

1
popImprov1Cyc(records, bsp, SP)

Arguments

records

The breeding program records object. See fillPipeline for details

bsp

A 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 a new F1 Pop-class object of 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 <- productPipeline(records, bsp, SP)
records <- popImprov1(records, bsp, SP)

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