Compute broad-sense heritability of differences
using the variance of differences between two BLUPs/BLUEs
Usage
H2_Delta_parameters(delta_g, delta_pev, type = c("BLUP", "BLUE"))
Arguments
- delta_g
Numeric. Genotypic variance-covariance matrix.
- delta_pev
Matrix. Variance of pairwise differences among BLUES or BLUPs
- type
Character. Either BLUES or BLUPS used to compute the variance of pairwise differences.
Value
Matrix of pairwise heritability of differences among BLUES or BLUPs
Details
See H2_Delta() and reference for full derivation
and equation for heritability Delta
References
Schmidt, P., Hartung, J., Rath, J., & Piepho, H.-P. (2019). Estimating
Broad-Sense Heritability with Unbalanced Data from Agricultural Cultivar
Trials. Crop Science, 59(2), 525–536. https://doi.org/10.2135/cropsci2018.06.0376
Examples
H2_Delta_parameters(delta_g = diag(0.15, 2, 2),
delta_pev = matrix(c(NA,0.2,0.2,NA),2,2),
type = "BLUP"
)
#> [,1] [,2]
#> [1,] NA -Inf
#> [2,] -Inf NA