Hayman: Diallel analysis by Hayman's approach

View source: R/Hayman.R

HaymanR Documentation

Diallel analysis by Hayman's approach

Description

Hayman() performs Hayman's analysis of a complete diallel (parents, F_1 and reciprocals: Griffing's Method 1) from the plot data of a randomized complete block experiment: Hayman's analysis of variance (additive, non-additive with its parts b_1, b_2, b_3, maternal and reciprocal effects), the array variances and covariances V_r and W_r with the W_r-V_r regression, the components of variation D, H_1, H_2, F, h^2 and E with their standard errors, the derived genetic ratios and the tests of the adequacy of the additive-dominance model.

Usage

Hayman(y, Rep, Cross1, Cross2, data)

Arguments

y

response: a column of data given by name (y = Yield or y = "Yield") or a numeric vector of length nrow(data).

Rep

replicate (block): a column of data or a vector, as for y.

Cross1

female parent of each plot: a column of data or a vector, as for y.

Cross2

male parent of each plot: a column of data or a vector, as for y.

data

a data frame (or data.table) with one row per plot.

Details

Data. P parents, all P^2 crosses, B replicates. \mathbf{Y} is the P \times P matrix of cell means and \mathbf{T} the matrix of cell totals over replicates.

Analysis of variance (Hayman 1954b), with T_{i\cdot}, T_{\cdot i}, T_{\cdot\cdot} the totals of \mathbf{T} and all sums of squares divided by B to the plot scale:

a = \frac{1}{B}\left[\frac{1}{2P}\sum_i (T_{i\cdot} + T_{\cdot i})^2 - \frac{2}{P^2}T_{\cdot\cdot}^2\right], \quad b = \frac{1}{B}\left[\frac{1}{4}\sum_{i,j}(T_{ij} + T_{ji})^2 - \frac{1}{2P}\sum_i (T_{i\cdot} + T_{\cdot i})^2 + \frac{1}{P^2}T_{\cdot\cdot}^2\right],

b_1 = \frac{(T_{\cdot\cdot} - P\sum_i T_{ii})^2}{P^2(P-1)B}, \quad b_2 = \frac{1}{B}\left[\frac{\sum_i (T_{i\cdot} + T_{\cdot i} - PT_{ii})^2}{P(P-2)} - \frac{(2T_{\cdot\cdot} - P\sum_i T_{ii})^2}{P^2(P-2)}\right], \quad b_3 = b - b_1 - b_2,

c = \frac{1}{2PB}\sum_i (T_{\cdot i} - T_{i\cdot})^2, \quad d = \frac{1}{B}\left[\frac{1}{4}\sum_{i,j} (T_{ij} - T_{ji})^2 - \frac{1}{2P}\sum_i (T_{\cdot i} - T_{i\cdot})^2\right].

b_1 (1 df) tests the mean deviation of the F_1 from the parents (directional dominance), b_2 (P-1 df) whether that deviation differs among parents, b_3 (P(P-3)/2 df) the remaining dominance (sca), c (P-1 df) maternal effects and d ((P-1)(P-2)/2 df) the remaining reciprocal differences; every line is tested against the error of the block analysis.

Arrays. The reciprocal crosses are averaged: \bar{\mathbf{Y}} = (\mathbf{Y} + \mathbf{Y}^\top)/2. Array r is column r of \bar{\mathbf{Y}}; V_r is its variance and W_r its covariance with the parents (the diagonal of \bar{\mathbf{Y}}). V_{0L0} is the variance of the parents, V_{1L1} the mean of the V_r, V_{0L1} the variance of the array means and W_{0L01} the mean of the W_r. The regression W_r = a + bV_r is fitted by least squares; under the additive-dominance model b = 1. The uniformity test (Hayman 1954a)

t^2 = \frac{P-2}{4}\,\frac{\left[\mathrm{Var}(V_r) - \mathrm{Var}(W_r)\right]^2}{\mathrm{Var}(V_r) \mathrm{Var}(W_r) - \mathrm{Cov}^2(V_r, W_r)}

is compared with the F distribution on 1 and P-2 degrees of freedom.

Components of variation (Hayman 1954a; Mather and Jinks 1982), with E the error variance of a cell mean (block and error sums of squares pooled, divided by B):

D = V_{0L0} - E, \quad F = 2V_{0L0} - 4W_{0L01} - \frac{2(P-2)}{P}E, \quad H_1 = V_{0L0} - 4W_{0L01} + 4V_{1L1} - \frac{3P-2}{P}E,

H_2 = 4V_{1L1} - 4V_{0L1} - 2E, \quad h^2 = 4(\bar{Y}_{L1} - \bar{Y}_{L0})^2 - \frac{4(P-1)}{P^2}E,

where \bar{Y}_{L1} is the mean of all cells and \bar{Y}_{L0} the mean of the parents. Their standard errors use s^2 = \mathrm{Var}(W_r - V_r)/2: \mathrm{Var}(D) = (P^5 + P^4)s^2/P^5, \mathrm{Var}(H_1) = (P^5 + 41P^4 - 12P^3 + 4P^2)s^2/P^5, \mathrm{Var}(H_2) = 36P^4s^2/P^5, \mathrm{Var}(F) = (4P^5 + 20P^4 - 16P^3 + 16P^2)s^2/P^5, \mathrm{Var}(h^2) = (16P^4 + 16P^3 - 32P + 16)s^2/P^5, \mathrm{Var}(E) = P^4s^2/P^5. Derived ratios: mean degree of dominance \sqrt{H_1/D}, proportion of genes with positive and negative effects H_2/(4H_1), ratio of dominant to recessive genes (\sqrt{4DH_1} + F)/(\sqrt{4DH_1} - F), the correlation of W_r + V_r with the parental values Y_{rr}, the number of gene groups showing dominance h^2/H_2 and the narrow-sense heritability (D + H_1 - H_2 - F)/(D + H_1 - H_2/2 - F + 2E). F_r = 2(V_{0L0} - W_{0L01} + V_{1L1} - W_r - V_r) - 2(P-2)E/P for each array.

Changes from version 0.6.0. The column arguments are used (version 0.6.0 read the columns Cross1 and Cross2 by name); H_2 subtracts 4V_{0L1} (version 0.6.0 added it); W_r and V_r both come from the reciprocal-averaged table (version 0.6.0 took V_r from the upper triangle and W_r from the unaveraged rows); the derived ratios are named; the lines b, b_3 and d of the analysis of variance divide by 4 where version 0.6.0 divided by the number of replicates (the two agree only with 4 replicates, as in HaymanData); the tests of the model are returned (Tests).

Value

An object of class c("da_hayman", "da_result", "list") with the components of earlier versions followed by a new one:

Means

P \times P matrix of cell means (female parents in rows).

ANOVA

Hayman's analysis of variance (class anova): Total, Rep, Treatment, additive (a), non-additive (b) with b1, b2, b3, maternal (c), reciprocal (d), Error.

VOLO

V_{0L0}, the variance of the parents.

In.Value

\sqrt{V_{1L1}V_{0L0}}, used to draw the limiting parabola.

a, b

intercept and slope of the regression of W_r on V_r.

Wr.Vr.Table

one row per array: Wr, Vr, Wr.Minus.Vr, Wr.Plus.Vr, Yr (parental value), Wri (limiting parabola \sqrt{V_rV_{0L0}}), Wrei (fitted regression), Wreip (line of unit slope through the means).

Components.of.Variation

Estimate, StdErr, t.value of E, D, F, H_1, H_2, h^2.

Other.Parameters

the derived ratios (named rows).

Fr

F_r of each array.

Tests

(new) uniformity test t^2, and t tests of b = 0 and b = 1: statistic, degrees of freedom, p-value.

Methods: print(), summary(), plot() (the W_r-V_r graph: limiting parabola, regression line, line of unit slope, parents labelled; which = c("WrVr", "residuals", "qq")), anova(), coef(), fitted(), residuals(), data.table::as.data.table(x, component =); see diallel-methods.

Author(s)

Muhammad Yaseen (myaseen208@gmail.com), Kent M. Eskridge (keskridge1@unl.edu)

References

Hayman, B. I. (1954a). The theory and analysis of diallel crosses. Genetics, 39(6), 789–809. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/genetics/39.6.789")}

Hayman, B. I. (1954b). The analysis of variance of diallel tables. Biometrics, 10(2), 235–244. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2307/3001877")}

Hayman, B. I. (1957). Interaction, heterosis and diallel crosses. Genetics, 42(3), 336–355. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/genetics/42.3.336")}

Jinks, J. L. and Hayman, B. I. (1953). The analysis of diallel crosses. Maize Genetics Cooperation Newsletter, 27, 48–54.

Mather, K. and Jinks, J. L. (1982). Biometrical Genetics, 3rd edition. Chapman and Hall, London.

Singh, R. K. and Chaudhary, B. D. (2004). Biometrical Methods in Quantitative Genetic Analysis. Kalyani Publishers, New Delhi.

See Also

Griffing, HaymanData, da-methods

Other DiallelAnalysisR analyses: GardnerEberhart(), Griffing(), GriffingEnv(), GriffingMeans(), Heterosis(), LineTester(), NCDesign(), PartialDiallel()

Examples

#-------------------------------------------------------------
## Hayman's analysis of a complete diallel
#-------------------------------------------------------------
Hayman1Data <-
  Hayman(
      y      = Yield
    , Rep    = Rep
    , Cross1 = Cross1
    , Cross2 = Cross2
    , data   = HaymanData
    )
Hayman1Data
Hayman1Data$ANOVA
Hayman1Data$Components.of.Variation
Hayman1Data$Other.Parameters
Hayman1Data$Tests

#-------------------------------------------------------------
## The Wr-Vr graph
#-------------------------------------------------------------
plot(Hayman1Data)

DiallelAnalysisR documentation built on Nov. 6, 2026, 5:08 p.m.