Genetic co-variance matrix using MCMC samples.
getGCovar(X,B)
Genetic co-variance matrix.
(numeric) matrix of covariates.
(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.
Gustavo de los Campos.
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.