Why Flexibility Matters in Tree Breeding Trials
Plant breeders are not accused of being simple folk. When it comes to field tests, we try to squeeze as much information as possible from our limited resources. This is particularly true of tree breeding trials, which may include both progeny and clones, or pedigreed and unpedigreed materials, while experimental designs can vary within a single trial series.
Such complexity poses a challenge for data analysis. Sometimes we need to fit models that have the flexibility to assign variance only at specified levels of the experiment, or separately to different levels. This is why I’ve always loved ASReml’s
at()
statement, which is available in both
ASReml-SA and
ASReml-R. For the sake of ease, I will present examples using the
ASReml-R syntax here.
How the `at()` Statement Works in ASReml
The specification
at(f, l)
creates a conditional factor for each level
l
of factor
f
in the data set. Operationally, it is used to prefix a model term for either fixed effects or random effects and (co)variances.
For example, if I have both pedigreed progeny and unpedigreed checklots, then:
fixed = y ~ at(Type, ’checklot’):Entry
will fit a fixed effect to each level of
Entry
that has corresponding data of level
checklot
in the factor
Type.
Common Use Cases for `at()`
Another example is by accommodating different experimental designs in a multi-experiment trial analysis. Let’s say Trials 1 and 2 are randomised incomplete block (IB) designs and Trial 3 is a resolvable row-column (RC) design. The random model section may contain:
at(Trial, c(1,2)):Block + at(Trial, 3):(Row + Col)
Note that
at(Trial, c(1,2)):Block
is equivalent to
at(Trial,1):Block + at(Trial,2):Block,
and that
at(Trial,3):(Row+Col)
is equivalent to
at(Trial,3):(Row) + at(Trial,3):(Col).
A third example is when we want to fit a term independently to each trait in a multivariate model. To fit block effects to each trait without correlation we include:
at(trait):Block
When the second term,
l,
is missing from the
at()
statement, ASReml assumes that every level of the factor
trait
is to be modelled separately. From a statistical standpoint we would then recognise the independence, or ‘orthogonality’ between block effects at each level of
trait.
As an aside to ASReml users who are already familiar with matrix notation, notice that
at(trait):Block
is equivalent to
diag(trait):Block,
which specifies a diagonal incidence matrix to the term
Block.
In more technical terms we move from specifying a model term as a direct sum to a direct product.
Fitting More Complex Structures with `at()`
More complex variance structures can also be fitted to the conditional factor. For example, in the random model section of a multi-site analysis,
at(Population, 3):diag(Site):Entry
will fit a variance component for
Entry
to each
Site
independently (as specified by the diagonal incidence matrix), but only for
Population 3.
This combination of
at()
and a matrix specification is a neat work-around for the limitation of not being able to concatenate multiple
at()
statements.
In other words,
at(Population, 3):at(Site):Entry
will not work! If you need to fit
Entry
to a subset of
Site
levels, then use
at()
with the diagonal matrix specification and modify the
vparameters.table
to fix variance at the unwanted
Site
levels to
0.0001.
Case Study: Teak Trial in Tanzania
Now I’d like to share a real-life example from an analysis of teak (Tectona grandis) materials that I recently conducted for a client in Tanzania. This experimental design is one of my most complicated ones, and no, that’s nothing to be proud of! This trial represented four genetic populations: the Tanzanian landrace (‘TZ’), the Thailand provenance, which was represented by half-sib families from an Australian trial (Australian Thai, ‘AT’), Costa Rican orchard seedlots (‘CR’), and Malaysian clones (‘MY’).
There were three types of TZ materials: unreplicated half-sib progeny, clones with 2–3 cuttings each which were members of those same families, and two operational ‘checklots’. It was a randomised incomplete block trial design, assessed for diameter at breast height (DBH) at 9 years, with earlier measurements at 3 and 6 years since planting. A thinning had been conducted to remove about 40% of trees after the 6-year measurement.
My goals for the analysis were to:
(1) estimate additive genetic variance in the TZ and AT populations separately,
(2) estimate clone-in-family variance in the TZ population,
(3) estimate effects of Malaysian clones, Costa Rican seedlots, and the Tanzanian checklots as fixed, because they were considered different types of benchmarks rather than random samples from larger populations,
(4) allow for different types of materials to have different error variances, as we expect more uniformity between cuttings of the same clone than between seedlings of the same family or seedlot, and
(5) quantify spatial environmental trends and inter-tree competition to produce more accurate breeding value estimates.
This competition aspect is a whole other kettle of fish! Suffice to say that in a preliminary exercise I had concluded that jointly fitting these two competition indices to the analysis of 9-year DBH was both effective and statistically justified:
ci_dbh_3y is based on 3-year DBH, and
ci_present_6yretained is based on presence/absence data after thinning.
The model is:
A15dbh.asr <- asreml(fixed = dbh ~ Rep + at(Type, c('MY','SL')):Entry,
random = ~ at(Type, c('TZ','AT')):vm(TreeID, A15ainv) +
at(CloneType, 'C'):ide(TreeID) +
Incblock +
at(Type, c('MY','SL')):units +
ci_dbh_3y + ci_present_6yretained +
ar1v(Row):ar1(Col),
G.param = A15dbh.asr$vparameters.table,
data = A15data)
There are 4 cases of setting conditional factors in this analysis:
-
at(Type, c('MY','SL')):Entryfits fixed effects for the mean of each Malaysian clone and seedlot, including the CR seedlots and the TZ checklots, -
at(Type, c('TZ','AT')):vm(TreeID, A15ainv)fits an additive genetic variance using the inverse of the numerator relationship matrixA15ainvto genotypes from the TZ and AT populations separately, -
at(CloneType, 'C'):ide(TreeID)fits clone-in-family genotype effects to clones, denoted by the level C in factorCloneType, -
at(Type, c('MY','SL')):unitsfits marginal error terms (nugget) to the MY clone and seedlot materials.
Note that I had to permit negative estimates for these marginal error variances by editing
A15dbh.asr$vparameters.table
in a previous step (not shown here but it requires
start.values=TRUE).
Interpreting the Results
Here is the table of variance estimates from the model:
| Variance Component | Interpretation | Estimate | Standard Error |
| ci_dbh_3y | Competition index | 0.208 | 0.308 |
| ci_present_6yretained | Competition index | 0.698 | 0.999 |
| Incblock | Incomplete block | 0.000 | NA |
| at(Type,’TZ’):vm(TreeID,A15ainv) | Additive variance (TZ) | 0.779 | 0.365 |
| at(Type,’AT’):vm(TreeID,A15ainv) | Additive variance (AT) | 3.244 | 0.933 |
| at(CloneType1site_thinned,’C’):ide(TreeID) | Clone-in-family variance (TZ) | 0.351 | 0.588 |
| at(Type,’MY’):units | Marginal error (MY clones) | -0.424 | 0.626 |
| at(Type,’SL’):units | Marginal error (seedlots) | 0.013 | 0.769 |
| Row:Col!Row!cor | Autocorrelation (Row) | 0.830 | 0.040 |
| Row:Col!Row!var | Spatially dependent error | 2.272 | 0.354 |
| Row:Col!Col!cor | Autocorrelation (Col) | 0.840 | 0.040 |
| units!R | Spatially independent error | 4.535 | 0.387 |
Narrow-sense heritabilities for the TZ and AT populations were estimated at
0.14 ± 0.08
and
0.42 ± 0.08, respectively, while broad-sense heritability for the TZ population was estimated at
0.20 ± 0.09.
Ideally, I would have fitted a marginal error term to the AT population in case within-family variance was fundamentally different between TZ and AT populations. However, in practice there were too few AT progeny individuals per plot retained after thinning for reliable estimation of this variance component.
Improving Your Model with the at() Statement
In conclusion, I recommend careful consideration of the sources of variance that may be affecting parts of your experiments in different ways. Try using the at() statement in ASReml to bring flexibility to your model and then to explore how the interpretation of your results can be improved.
2 Responses
How did you construct the denominators for the heritability equations for the seedlings (narrow sense) and clones (broad sense)?
Hi Carolyn,
Thanks for your question. For the TZ population I included variances due to additive genetic effects (in the TZ population), clone-in-family effects, incomplete block effects, and model residual in the denominator for heritability calculation. This was the case for both narrow-sense and broad-sense heritability.
For the AT population I included variances due to additive genetic effects (in the AT population), incomplete block effects, and model residual.
There is a whole discussion possible about how to define heritability when spatial trend processes are modelled, which we can get stuck into if you’re interested! In a nutshell, I we clearly cannot include the variance due to AR1xAR1, yet excluding it has an inflationary effect on the heritability estimate. So for publication purposes I usually fit a separate model without AR1xAR1 just for the purpose of reporting heritability. I haven’t done that for this blog.