mr.mash.R/compute_covs.R
expand_covs.RdFunction to scale the covariance matrices by a grid of variances.
expand_covs(mats, grid, zeromat = TRUE)a list of covariance matrices.
scalar or numeric vector of variances of the effects.
if TRUE, the no-effect matrix will be included.
A list containing the scaled covariance matrices.