The mr_loo function draws a forest plot of causal estimates from the mr_ivw function using default settings (assuming variants are uncorrelated, random-effects for 4+ variants) omitting each variant in turn. So the estimate labelled snp_1 includes all variants except the labelled variant, and so on. The mr_ivw estimate including all variants ("IVW estimate") is also provided for reference.
methods
mr_loo(object, alpha =0.05)## S4 method for signature 'MRInput'mr_loo(object, alpha =0.05)
Arguments
object: An MRInput object.
alpha: The significance level used to calculate the confidence intervals. The default value is 0.05, corresponding to 95% confidence intervals.
Details
As the function produces a ggplot object, graphical parameters can be changed by adding commands from the ggplot2 package.