In diallel experiments, the phenotypes of offspring from crosses where the same parent can play the role of mother as well as that of father is analyzed. Then one must find a way to fit a model accounting for the fact that the same individual (with same genetic effect) appears in two variables (mother genotype and father genotype).
This concern arises more generally in the case where interactions occur between pairs of individuals, where one analyzes an outcome for each interaction (here one response value for each pairwise interaction, rather than two individual response values). If individual-level random effects of the form (1|ID1)+ (1|ID2) were included in the model formula, this would result in different variances being fitted for each random effect (breaking the assumption of symmetry), and the value of the random effect would differ for an individual whether it appears as a level of the first random effect or of the second (which is also inconsistent with the idea that the random effect represents a property of the individual). Instead one should include a ranGCA(1|ID1+ID2)
term in the model formula.
Although this random-effect structure may be used in many different contexts (including social network analysis, or “round robin” experiments in psychology), its present name refers to the semantics established for diallel experiments (e.g., Lynch & Walsh, 1998, p. 611), because it is not easy to find a more general yet intuitive semantics. In this context the additive genetic effects of each parent's genotypes are described as “general combining abilities” (GCA). In case of non-additive effect, the half-sib covariance is not half the full-sib covariance and this is represented by another effect described as “specific combining abilities” (SCA) . More generally, think about GCAs as random effects associated with each member of a dyad and having additive effects on the linear predictor, and about GCAs + SCAs as a way of representing non-additive effects of each member.
*
The ranGCA
corrFamily
constructor defines a random effect which is the sum of the random effects contributed by each parent.
*
The diallel
corrFamily constructor defines a random effect with a one-parameter covariance structure that can represent GCAs and SCAs, and more generally non-additive effects of each individual. This extended model is formulated as an autocorrelated random effect, which is related to the additive case as follows. A level of the random effect is assigned for each unordered pair of individuals, and a correlation \(\rho\) is assigned between levels for pairs sharing one individual. In the context of a diallel experiment this amounts to define a synthetic “mid-parent” random effect “received” by the offspring, with distinct levels for each unordered parental pair, and this assigns a correlation \(\rho\) between effects received by half-sibs (one shared parent). \(\rho\) corresponds to var(GCA)/[2*var(GCA)+var(SCA)] and is necessarily \(\le 0.5\).
The diallel
model should actually be fitted for \(\rho < 0.5\) only; ranGCA
fits the exact case \(\rho= 0.5\).
diallel
fits can be slow for large data if the correlation matrix is large, as it can have a fair proportion of nonzero elements.
There may also be identifiability issues for variance parameters: in a LMM as shown in the examples, there will be three parameters for the random variation (phi
, lambda
and rho
) but only two can be estimated if only one observation is made for each dyad.
GCAs and SCAs can also be fitted as fixed effects. spaMM has no specific syntax for that purpose, but it seems that the fixed-effect terms defined in the lmDiallel package (Onofri & Terzaroli, 2021) work in a formula for a spaMM fit.
If the names ranGCA
and diallel
sound inappropriate for your context of application, you can register these terms under a new name using register_cF
.