invcov_mvmr {MendelianRandomization}R Documentation

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)

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

Value

A list of inverse of covariance matrices with respect to each genetic variant, retaining the ordering in se_bx


[Package MendelianRandomization version 0.10.0 Index]