Skip to contents

Plot-level data of three multi-environment trials of the 150 lines of panel_genotypes, together with the adjusted means and their variance-covariance matrix from the first stage, so that the second stage of the package can be run on them directly and the first stage can be repeated from the plots. The trials are rolling panels of the kind the paper's scenario C uses: each line is grown in consecutive environments, its window rolling evenly over the environments, with three replicates in each environment.

Usage

panel_dense

panel_sparse

panel_misspecified

Format

Each panel is a list:

plots

data frame of the plot data: accession, environment, replicate (factors) and the response y.

means

the adjusted means of the lines, named by line.

Omega

their variance-covariance matrix from the first stage, with the line names as dimnames.

design

the number of environments, the environments per line, the replicates, the number of plots and the mean number of lines per environment.

first_stage

the model formula, its variance components and the Kenward-Roger inflation factor of the variances of the means.

truth

the generating values: mu, the causal markers and their effect per dose, the variances (genetic_variance, independent_variance, interaction_variance, replicate_variance, error_variance), environment_sd, pc_coefficient, the simulated genetic value of each line and the environment_effects.

An object of class list of length 6.

An object of class list of length 6.

An object of class list of length 6.

Source

Simulated by data-raw/make_panels.R in the package sources.

Details

  • panel_dense: 8 environments, three per line, 1,350 plots, 56 lines per environment on average. The adjusted means are estimated with nearly equal precision and are nearly uncorrelated, so the three weighting schemes agree.

  • panel_sparse: 60 environments, three per line, 1,350 plots, 7.5 lines per environment on average, the same lines, replication and number of plots as the dense panel. The environment effects are estimated from few lines, so the adjusted means are imprecise and correlated and the weighting matters.

  • panel_misspecified: the dense design with unequal replication, one to six environments per line (1,437 plots), and a genetic effect independent across lines added to the genetic value, with variance 6 against the genetic variance of 10 carried by the relationship matrix. The relationship matrix does not represent this effect, so the residual variance of the rotated model lies above one. The unequal replication helps to separate the effect from the residual after the rotation: its rotated kernel is the inverse of the variance-covariance matrix of the means, and the separation is weak when that matrix is close to proportional to the identity, as it is on the dense design with equal replication, where many lines share each environment.

The plot values were simulated as the sum of an intercept of 50, an environment effect (standard deviation 4), the line's genetic value, a replicate-within-environment effect (variance 0.5), a line-by-environment interaction (variance 3) and a plot error (variance 6). The genetic value is a polygenic part with covariance 10 times the relationship matrix, the effects of three causal markers on chromosomes 2, 5 and 8 (2.0, 1.2 and 0.6 per dose of the counted allele), a regression on the three principal components, and, in the misspecified panel, the independent effect.

The first stage fitted the paper's model to the plots with lme4, line and environment as fixed effects and replicate within environment and line-by-environment as random effects, and took the estimated marginal means of the lines and their variance-covariance matrix from emmeans with the Kenward-Roger adjustment (on these designs, which are balanced within each line-by-environment cell, the adjustment leaves the matrix unchanged).

Examples

r <- rotation(panel_sparse$means, panel_sparse$Omega,
              panel_genotypes$relationship, panel_genotypes$covariates)
r
#> Rotation of 150 adjusted means; 4 fixed effects (the rotated intercept and 3 covariates )  
#> Omega: diagonal from 7.14 to 22.6 (ratio 3.17); mean |correlation| 0.443, largest 0.915; condition number 517
#> Model without a marker: genetic variance 14.17, residual variance 1.325 (target one)
#> With the residual variance fixed at one: genetic variance 15.78
efficiency(r, panel_genotypes$markers)
#> Standard error of the marker effect relative to the rotation (factor at or above one), over 1998 markers  
#>                  median    95%    max
#> inverse-variance 1.1218 1.2608 1.7528
#> unweighted       1.1177 1.2617 1.7117
#> Genetic variance 15.78 (rotated model without a marker, residual variance fixed at one); estimation share 0.44, on the average semivariance