View source: R/genomic_eigen_indices.R
| ppg_gesim | R Documentation |
Implements the PPG-GESIM which extends GESIM to enforce that genetic gains are proportional to a user-specified vector d. Combines eigen approach with predetermined gain proportions.
ppg_gesim(pmat, gmat, Gamma, d, selection_intensity = 2.063)
pmat |
Phenotypic variance-covariance matrix (n_traits x n_traits). |
gmat |
Genotypic variance-covariance matrix (n_traits x n_traits). |
Gamma |
Covariance between phenotypes and GEBVs (n_traits x n_traits). |
d |
Numeric vector of desired proportional gains (length n_traits). The ratios among elements define target gain proportions. |
selection_intensity |
Selection intensity constant |
Eigenproblem (Section 8.5):
(\mathbf{T}_{PG} - \lambda_{PG}^2 \mathbf{I}_{2t})\boldsymbol{\beta}_{PG} = 0
where:
\mathbf{T}_{PG} = \mathbf{K}_{RG}\mathbf{\Phi}^{-1}\mathbf{A} + \mathbf{B}
\mathbf{B} = \boldsymbol{\delta}\boldsymbol{\varphi}^{\prime}
Implied economic weights:
\mathbf{w}_{PG} = \mathbf{A}^{-1}[\mathbf{\Phi} + \mathbf{Q}_{PG}^{\prime}\mathbf{A}]\boldsymbol{\beta}_{PG}
Selection response:
R_{PG} = k_I \sqrt{\boldsymbol{\beta}_{PG}^{\prime}\mathbf{\Phi}\boldsymbol{\beta}_{PG}}
Expected genetic gain per trait:
\mathbf{E}_{PG} = k_I \frac{\mathbf{A}\boldsymbol{\beta}_{PG}}{\sqrt{\boldsymbol{\beta}_{PG}^{\prime}\mathbf{\Phi}\boldsymbol{\beta}_{PG}}}
Object of class "ppg_gesim", a list with:
summaryData frame with coefficients and metrics.
b_yCoefficients for phenotypic data.
b_gammaCoefficients for GEBVs.
b_combinedCombined coefficient vector.
E_PGExpected genetic gains per trait.
gain_ratiosRatios of actual to desired gains (should be constant).
dOriginal desired proportional gains (length t).
d_PGExtended proportional gains (length 2t, includes GEBV targets).
sigma_IStandard deviation of the index.
hI2Index heritability.
rHIAccuracy.
R_PGSelection response.
lambda2Leading eigenvalue.
implied_wImplied economic weights.
U_PGRestriction matrix ((2t-1) x 2t).
selection_intensitySelection intensity used.
Ceron-Rojas, J. J., & Crossa, J. (2018). Linear Selection Indices in Modern Plant Breeding. Springer International Publishing. Section 8.5.
## Not run:
gmat <- gen_varcov(seldata[, 3:9], seldata[, 2], seldata[, 1])
pmat <- phen_varcov(seldata[, 3:9], seldata[, 2], seldata[, 1])
# Simulate GEBV covariance
Gamma <- gmat * 0.8
# Desired proportional gains (e.g., 2:1:3 ratio for first 3 traits)
d <- c(2, 1, 3, 1, 1, 1, 1)
result <- ppg_gesim(pmat, gmat, Gamma, d)
print(result)
print(result$gain_ratios) # Should be approximately constant
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.