Calculates the conditional F-statistic for assessing instrument strength in two sample summary multivariable Mendelian randomization.
The function takes a formatted dataframe as an input, obtained using the function
format_mvmr. Additionally, covariance matrices
for estimated effects of individual genetic variants on each exposure can also be provided. These can be estimated using external data by
phenocov_mvmr functions, are input manually. The function returns a dataframe including the conditional
F-statistic with respect to each exposure. A conventional F-statistic threshold of 10 is used in basic assessments of instrument strength.
Calculating heterogeneity statistics requires the covariance between the effect of the genetic variants on each exposure to be known. This can either be estimated from individual level data, be assumed to be zero, or fixed at zero using non-overlapping samples of each exposure GWAS. A value of
0is used by default.
Sanderson, E., et al., An examination of multivariable Mendelian randomization in the single-sample and two-sample summary data settings. International Journal of Epidemiology, 2018, 48, 3, 713-727. Available from: doi:10.1093/ije/dyy262