Perform MR of multiple exposures and multiple outcomes. This plots the results.
forest_plot( mr_res, exponentiate = FALSE, single_snp_method = "Wald ratio", multi_snp_method = "Inverse variance weighted", group_single_categories = TRUE, by_category = TRUE, in_columns = FALSE, threshold = NULL, xlab = "", xlim = NULL, trans = "identity", ao_slc = T, priority = "Cardiometabolic" )
Convert effects to OR? Default is
Which of the single SNP methosd to use when only 1 SNP was used to estimate the causal effect? The default is
Which of the multi-SNP methods to use when there was more than 1 SNPs used to estimate the causal effect? The default is
If there are categories with only one outcome, group them together into an "Other" group. The default is
Separate the results into sections by category? The default is
Separate the exposures into different columns. The default is
p-value threshold to use for colouring points by significance level. If
x-axis label. If
limit x-axis range. Provide vector of length 2, with lower and upper bounds. The default is
Transformation to apply to x-axis. e.g.
retrive sample size and subcategory from
Name of category to prioritise at the top of the forest plot. The default is
grid plot object