invcov_mvmr: Generate the list of inverse of covariance matrices used in MVMR-cML-DP
Description
Generate the list of inverse of covariance matrices used in MVMR-cML-DP
Usage
invcov_mvmr(se_bx, se_by, rho_mat)
Value
A list of inverse of covariance matrices with respect to each genetic variant, retaining the ordering in se_bx
Arguments
- se_bx
A m*L matrix of standard errors of SNP-exposure association
- se_by
A vector of standard errors of SNP-outcome association
- rho_mat
The correlation matrix among the L exposures and the outcome