predCrossMeans | R Documentation |
Function to predict the mean performances of the offspring of crosses. Takes
a list of crosses to predict, marker effects, parental allele dosage matrix
as input. Predicts potentially over multiple crosses and multiple traits.
With predType="BV"
predicts the mid-parent of crosses by computing
parental GEBV. With predType="TGV"
predicts the mean total merit of
cross offspring using a Falconer-MacKay Eqn. 14.6 and takes user supplied
additive and dominance effects as input. The additive-dominance effects
should be partitioned according to the "genotypic" marker codings (see
Vitezica et al. 2013. GENETICS).
predCrossMeans( CrossesToPredict, predType, AddEffectList, DomEffectList = NULL, doseMat, ncores = 1, ... )
CrossesToPredict |
data.frame or tibble, col/colnames: sireID, damID. sireID and damID must both be in the haploMat. |
predType |
string, "BV" or "TGV". "BV" predicts cross mean breeding
values as the mean GEBV of parents. "TGV" predicts the cross total genetic
value. Warning: prediction of meanTGV with F-M Eqn. 14.6 appropriate only
using a+d partition not allele sub. + dom. dev.; genotypic NOT classical in
terms used by Vitezica et al. 2013. For that reason,
|
AddEffectList |
list of ADDITIVE effect matrices, one matrix per trait, Each element of the list is named with a string identifying the trait and the colnames of each matrix are labelled with snpIDs. |
DomEffectList |
list of DOMINANCE effect matrices, one matrix per trait, Each element of the list is named with a string identifying the trait and the colnames of each matrix are labelled with snpIDs. |
doseMat |
dosage matrix. required only for modelType=="DirDom". Assumes SNPs coded 0, 1, 2. Nind rows x Nsnp cols, numeric matrix, with rownames and colnames to indicate SNP/ind ID |
ncores |
number of cores, parallelizes across |
... |
tibble, each row contains predictions for a single cross. Columns:
"Trait"
:
"sireID"
:
"damID"
:
"sireGEBV"
: genomic estimated breeding value (GEBV) of the male parent of the cross
"damGEBV"
: genomic estimated breeding value (GEBV) of the female parent of the cross
"predOf"
: "MeanBV" or "MeanTGV"
"predMean"
: The predicted mean value for the cross
Other predCrossVar:
calcCrossLD()
,
calcGameticLD()
,
predCrossVars()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.