Fit an effect independent across accessions alongside the relationship matrix
Source:R/independent_effect.R
independent_effect.RdWhen the specification test finds the residual variance of the rotated
model above one, genetic covariance is missing from the model, if the
first stage is correctly specified. The
extension the paper examines adds an effect independent across accessions
(Oakey et al. 2007; Endelman 2023; Holland and Piepho 2024), whose kernel
is the identity before the rotation and \(WW'\) after it, the inverse of
the first-stage variance-covariance matrix. Without the rotation this
effect and the residual error have the same covariance matrix and only the
sum of their variances can be estimated; after it the two are separated.
The model without a marker is fitted with three variance components, by
REML with the residual variance estimated and with it fixed at one, and
compared with the additive model by the reduction in deviance. The scan can
then be run under this model with genome_scan() and its model argument.
Value
an object of class independent_effect: fit (the free fit:
vg, vi, ve, deviance, boundary), fit_one (with the residual
fixed at one), additive (the free fit of the additive model), lr (the
reduction in deviance against the additive model), p_mixture (its
p-value from the equal mixture of a point mass at zero and chi-squared on
one degree of freedom, the variance being on the boundary under the null),
delta_aic (AIC of the extended model minus the additive one), the
profile-likelihood intervals for the residual variance under the extended
model (interval_90, interval_95), kernel (\(WW'\)), and the setup
the scan uses.
Details
A residual variance at the boundary of zero means that all the estimation error has been attributed to the independent effect; the model is then the unweighted analysis of the adjusted means, and the scan under it is the unweighted scan. A component is reported on the boundary when the fit puts it below 1e-6 of the total variance; the paper's simulation summaries count a residual variance below 0.001 as a boundary solution. The separation of the independent effect from the residual is weak when the variance- covariance matrix of the means is close to proportional to the identity.
References
Oakey, H., A. P. Verbyla, B. R. Cullis, X. Wei and W. S. Pitchford, 2007 Joint modeling of additive and non-additive genetic line effects in single field trials. Theoretical and Applied Genetics 113: 809-819. Endelman, J. B., 2023 Fully efficient, two-stage analysis of multi-environment trials with directional dominance and multi-trait genomic selection. Theoretical and Applied Genetics 136: 65. Holland, J. B., and H.-P. Piepho, 2024 Don't BLUP twice. G3 14: jkae250.
Examples
ex <- rotationGWAS:::toy_trial(n = 60, n_markers = 40, seed = 2)
r <- rotation(ex$means, ex$Omega, ex$relationship, ex$covariates)
ie <- independent_effect(r)
ie
#> Rotated model with the relationship matrix and an effect independent across accessions (kernel WW')
#> Genetic variance 5.398, independent effect 0, residual variance 1.613 (target one) [boundary: vi_zero]
#> The independent effect is zero: the additive model stands.
#> Against the additive model (genetic variance 5.398, residual 1.613): deviance lower by 0 (p = 1 on the boundary mixture), AIC higher by 2
#> With the residual variance fixed at one: genetic variance 5.423, independent effect 0.5406
#> Profile-likelihood intervals for the residual variance under this model: 90% [0, 2.579], 95% [0, 2.837]