Calculate Piepho's heritability from model object Compute Piepho's heritability using variance differences between genotype BLUEs
H2_Piepho.RdCalculate Piepho's heritability from model object Compute Piepho's heritability using variance differences between genotype BLUEs
Details
The equation for Piepho's heritability is as follows:
$$H^2_{Piepho} = \frac{\sigma^2_g}{\sigma^2_g + \overline{PEV_{BLUE_g}} / 2}$$
where:
\(\overline{PEV_{BLUE_g}}\) is the prediction error variance matrix for genotype BLUEs
\(\sigma^2_g\) is the variance attributed to differences between genotype
See reference for full derivation and details.
References
Piepho, H.-P., & Möhring, J. (2007). Computing Heritability and Selection Response From Unbalanced Plant Breeding Trials. Genetics, 177(3), 1881–1888. https://doi.org/10.1534/genetics.107.074229
Examples
# lme4 model
lettuce_subset <- lettuce_phenotypes |> subset(loc == "L2")
lettuce_lme4 <- lme4::lmer(y ~ rep + (1 | gen), data = lettuce_subset)
H2_Piepho(lettuce_lme4, target = "gen")
#> Warning: the ‘nobars’ function has moved to the reformulas package. Please update your imports, or ask an upstream package maintainter to do so.
#> This warning is displayed once per session.
#> [1] 0.8294971
# asreml model (Requires license)
if (FALSE) { # \dontrun{
lettuce_asreml <- asreml::asreml(fixed = y ~ rep,
random = ~ gen,
data = lettuce_subset,
trace = FALSE
)
H2_Piepho(lettuce_asreml, target = "gen")
} # }