The predCrossVar package
contains a complete set of functions for the prediction of additive and dominance genetic variances and co-variances among full-siblings based on parents. predCrossVar enables the prediction of genetic variance on multi-trait selection indices. Built for diploid organisms with phased, chromosome- or linkage-group ordered biallelic marker data, and a centimorgan-scale genetic map.
You can install predCrossVar My GitHub with:
devtools::install_github("wolfemd/predCrossVar", ref = 'master')
The package helps automate prediction for both simple (one trait, one cross) and complex (multi-trait, many crosses) scenarios.
Single-trait Functions | REML or MCMCVPM |
---|---|
predCrossVarA() |
Predicts one cross variance |
runCrossVarPredsA() |
Wraps around predCrossVarA() to predict multiple crosses |
Equivalent functions for an additive-plus-dominance models are: predCrossVarAD()
–> runCrossVarPredsAD()
No function as of now to do dominance separately.
Note that these functions were developed early, and the multi-trait functions below should supersede these in function.
Multi-trait Functions | REML, MCMCVPM, MCMCPMV |
---|---|
predOneCrossVarA() |
Predicts one cross, one variance (or covariance), additive-only model |
predCrossVarsA() |
wraps around predOneCrossVarA() . Predicts multiple crosses (potentially in parallel/multicore), one variance (or covariance), additive-only model |
runMtCrossVarPredsA() |
wraps around predCrossVarsA() . Predicts the variances and covariances in the multi-trait case for a set of crosses, additive-only model. |
Equivalent functions for an additive-plus-dominance models are: predOneCrossVarAD()
–> predCrossVarsAD()
–> runMtCrossVarPredsAD()
. No function as of now to do only dominance.
There are also functions for the much less computationally challenging prediction of cross means (predCrossMeanBVsOneTrait()
–> predCrossMeanBVs()
) for convenience.