parentSelCritGEBV.Rd
parentSelCritGEBV
will compute GEBV of all genotyped individuals using all available phenotypes.
Parents are selected by these criteria e.g. by the popImprov1Cyc populationImprovement function
parentSelCritGEBV(records, candidates, trainingpop, bsp, SP)
records | The breeding program |
---|---|
candidates | Character vector of ids of the candidates to be parents, not necessarily phenotyped but must be predicted |
trainingpop | chr. vector of ids with phenotypes , but not necessarily in the list of selection candidates, but who should be included in the grm / training model. |
bsp | The breeding scheme parameter list |
SP | The AlphaSimR SimParam object (needed to pull SNPs) |
Character vector of the ids of the selected individuals
Setting up to distinguish between parent and cross selection and additive and non-additive predictions.
Uses genomicMateSelectR
functions, which will need to be installed for these to work.
Modified original selCritGRM
function.
Uses alternative functions make_grm
and gebvPhenoEval
.
Accesses all individuals in records
to pick the highest ones