Description Usage Arguments Details Value Examples
View source: R/AnalysisFunctions.R
function to select parents among individuals with phenotypes, assuming individual effects are IID
1 | selCritIID(records, candidates, bsp, SP)
|
records |
The breeding program |
candidates |
Character vector of ids of the candidates to be parents |
bsp |
The breeding scheme parameter list |
SP |
The AlphaSimR SimParam object (not used, here for uniformity) |
Accesses all individuals in records
to pick the highest among candidates. If candidates do not have records, a random sample is returned
An IID BLUP of the trait of the candidates
1 2 3 | allPop <- mergePops(records[[2]])
candidates <- allPop@id
parents <- allPop[selCritIID(records, candidates, bsp, SP)]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.