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), where Vg=(MS(G)−MS(E))/r and Ve=MS(E). In these expressions, r is the number of replicates per genotype, and MS(G) and MS(E) are the mean sums of squares for genotype and residual error obtained from analysis of variance. In case MS(G)<MS(E), Vg is set to zero. See Singh et al. (1993) or Lynch and Walsh (1998), p.563. When the genotypes have differing numbers of replicates, r is replaced by rˉ=(n−1)−1(R1−R2/R1), where R1=∑ri and R2=∑ri2. 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.
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) is estimated, otherwise (the default) the repeatability at plot- or plant level, which is σG2/(σG2+σE2).
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.