repeatability function

ANOVA-based estimates of repeatability

ANOVA-based estimates of repeatability

Given a population where each genotype is phenotyped for a number of genetically identical replicates (either individual plants or plots in a field trial), the repeatability or intra-class correlation can be estimated by Vg/(Vg+Ve)V_g / (V_g + V_e), where Vg=(MS(G)MS(E))/rV_g = (MS(G) - MS(E)) / r and Ve=MS(E)V_e = MS(E). In these expressions, rr is the number of replicates per genotype, and MS(G)MS(G) and MS(E)MS(E) are the mean sums of squares for genotype and residual error obtained from analysis of variance. In case MS(G)<MS(E)MS(G) < MS(E), VgV_g is set to zero. See Singh et al. (1993) or Lynch and Walsh (1998), p.563. When the genotypes have differing numbers of replicates, rr is replaced by rˉ=(n1)1(R1R2/R1)\bar r = (n-1)^{-1} (R_1 - R_2 / R_1), where R1=riR_1 = \sum r_i and R2=ri2R_2 = \sum r_i^2. Under the assumption that all differences between genotypes are genetic, repeatability equals broad-sense heritability; otherwise it only provides an upper-bound for broad-sense heritability.

repeatability(data.vector, geno.vector, line.repeatability = FALSE, covariates.frame = data.frame())

Arguments

  • data.vector: A vector of phenotypic observations. Needs to be of type numeric. May contain missing values.
  • geno.vector: A vector of genotype labels, either a factor or character. This vector should correspond to data.vector, and hence needs to be of the same length.
  • line.repeatability: If TRUE, the line-repeatability or line-heritability σG2/(σG2+σE2/r)\sigma_G^2 / (\sigma_G^2 + \sigma_E^2 / r) is estimated, otherwise (the default) the repeatability at plot- or plant level, which is σG2/(σG2+σE2)\sigma_G^2 / (\sigma_G^2 + \sigma_E^2).
  • covariates.frame: A data-frame with additional covariates, the rows corresponding to geno.vector and the phenotypic observations in data.vector. May contain missing values. Each column can be numeric or a factors.

Returns

A list with the following components:

  • repeatability: the estimated repeatability.
  • gen.variance: the estimated genetic variance.
  • res.variance: the estimated residual variance.
  • line.repeatability: whether repeatability was estimated at the individual plant or plot level (the default), or at the level of genotypic means (in the latter case, line.repeatability=TRUE)
  • average.number.of.replicates: The average number of replicates. See the description above.
  • conf.int: Confidence interval for repeatability. See Singh et al. (1993) or Lynch and Walsh (1998)

References

  • Kruijer, W. et al. (2015) Marker-based estimation of heritability in immortal populations. Genetics, Vol. 199(2), p. 1-20.
  • Lynch, M., and B. Walsh (1998) Genetics and Analysis of Quantitative Traits. Sinauer As- sociates, 1st edition.
  • Singh, M., S. Ceccarelli, and J. Hamblin (1993) Estimation of heritability from varietal trials data. Theoretical and Applied Genetics 86: 437-441.

Examples

repeatability(data.vector=rep(rnorm(26),each=5) + rnorm(5*26), geno.vector=rep(letters,each=5))

Author(s)

Willem Kruijer willem.kruijer@wur.nl

  • Maintainer: Willem Kruijer
  • License: GPL-3
  • Last published: 2023-08-24

Useful links