GriffingEnv: Griffing's diallel analysis over several environments

View source: R/GriffingEnv.R

GriffingEnvR Documentation

Griffing's diallel analysis over several environments

Description

GriffingEnv() combines Griffing's analysis of the same diallel grown in several environments (locations, years or seasons), each a randomized complete block experiment: the pooled analysis of variance with the interactions gca \times environment, sca \times environment and, in Methods 1 and 3, reciprocal \times environment, the effects from the means over environments, the gca effects in every environment and, in the random model, the variance components.

Usage

GriffingEnv(y, Rep, Cross1, Cross2, Env, data, Method, Model)

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.

Env

environment of each plot: a column of data or a vector, as for y. Replicate labels are taken within environments.

data

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

Method

1 (parents, F_1 and reciprocals), 2 (parents and one set of F_1), 3 (F_1 and reciprocals) or 4 (one set of F_1). No default.

Model

1 (fixed effects) or 2 (random effects). No default.

Details

Let \mathbf{Y}_e be the table of cross means in environment e = 1, \ldots, E, \bar{\mathbf{Y}} their mean and SS_k(\cdot) the sum of squares of line k (gca, sca, reciprocals) of Griffing's analysis of a table. Because each line is a projection of the table,

\sum_{e} SS_k(\mathbf{Y}_e) = E \cdot SS_k(\bar{\mathbf{Y}}) + \sum_e SS_k(\mathbf{Y}_e - \bar{\mathbf{Y}}),

the first term being line k and the second its interaction with environments, on f_k and (E - 1)f_k degrees of freedom. The environments line is c\sum_e (\bar{y}_e - \bar{y})^2 with c cells per table. Everything is on the scale of cross means; the error is the pooled error of the block analyses divided by B (harmonic mean of the replicates over environments), on the pooled degrees of freedom, and Rep(Env) is the pooled replicate line on the same scale.

With Model = 1 every line is tested against the error. With Model = 2 (random genotypes and environments) environments are tested against replicates within environments, gca, sca and reciprocals against their interaction with environments, and the interactions against the error; with c_{\cdot\cdot} the coefficients of the expected mean squares of the single-environment analysis,

\hat{\sigma}^2_{sE} = \frac{MS_{sE} - MS_E}{c_{ss}}, \quad \hat{\sigma}^2_s = \frac{MS_s - MS_{sE}}{E c_{ss}}, \quad \hat{\sigma}^2_{gE} = \frac{MS_{gE} - MS_E - c_{gs}\hat{\sigma}^2_{sE}}{c_{gg}}, \quad \hat{\sigma}^2_g = \frac{MS_g - MS_{gE} - E c_{gs}\hat{\sigma}^2_s}{E c_{gg}}.

The standard errors of the effects over environments are those of Griffing with the error variance MS_E/E.

Value

An object of class c("da_griffingenv", "da_result", "list"):

Means

table of cross means over environments.

ANOVA

pooled analysis of variance (class anova).

GCA

gca effects over environments; GCA.Env: matrix of gca effects, parents by environments.

SCA

sca effects over environments; Reciprocal (Methods 1 and 3) reciprocal effects.

StdErr

standard errors of the effects over environments, as in Griffing.

Genetic.Components

(Model 2) variance components.

ByEnv

list of the single-environment Griffing analyses.

Methods: print(), summary(), plot() (which = c("gca", "gcaenv", "sca", "residuals", "qq"); "gcaenv" draws the gca effect of every parent in every environment), data.table::as.data.table(x, component =), da_export.

Author(s)

Muhammad Yaseen (myaseen208@gmail.com)

References

Griffing, B. (1956). Concept of general and specific combining ability in relation to diallel crossing systems. Australian Journal of Biological Sciences, 9(4), 463–493. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1071/BI9560463")}

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

Zhang, Y. and Kang, M. S. (1997). DIALLEL-SAS: a SAS program for Griffing's diallel analyses. Agronomy Journal, 89(2), 176–182. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2134/agronj1997.00021962008900020005x")}

See Also

Griffing, DiallelSim

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

Examples

#-------------------------------------------------------------
## A Method 2 diallel of six parents in three environments
#-------------------------------------------------------------
d <-
  DiallelSim(
      Parents = 6
    , Method  = 2
    , Rep     = 3
    , Env     = 3
    , Mean    = 50
    , gca     = 4
    , sca     = 2
    , rec     = 0
    , gcaEnv  = 1.5
    , scaEnv  = 1
    , EnvSD   = 0
    , Block   = 0
    , Error   = 3
    , seed    = 1
    )
fe <-
  GriffingEnv(
      y      = y
    , Rep    = Rep
    , Cross1 = Cross1
    , Cross2 = Cross2
    , Env    = Env
    , data   = d
    , Method = 2
    , Model  = 2
    )
fe
fe$GCA.Env
plot(x = fe, which = c("gca", "gcaenv", "sca", "residuals", "qq")[2])

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