Learn R Programming

BGLR (version 1.1.3)

getGCovar: getGCovar

Description

Genetic co-variance matrix using MCMC samples.

Usage

getGCovar(X,B)

Value

Genetic co-variance matrix.

Arguments

X

(numeric) matrix of covariates.

B

(numeric) matrix that contains samples for regression coefficients, 3D array, with dim=c(nRow,p,traits), where nRow number of MCMC samples saved, p is the number of predictors and traits is the number of traits.

Author

Gustavo de los Campos.

References

Lehermeier, C., G. de los Campos, V. Wimmer and C.-C. Schon. Genomic Variance Estimates: With or without Disequilibrium Covariances?. J Anim Breed Genet., 134 (3): 232-241.