This function is used to create a basic forest plot. It requires the output from format_mr_results.

forest_plot_basic(
dat,
section = NULL,
colour_group = NULL,
colour_group_first = TRUE,
xlab = NULL,
bottom = TRUE,
trans = "identity",
xlim = NULL,
threshold = NULL
)

## Arguments

dat Output from format_mr_results(). Which category in dat to plot. If NULL then prints everything. Which exposure to plot. If NULL then prints everything grouping by colour. The default is TRUE. x-axis label. Default=NULL. Show x-axis? Default=FALSE. Transformation of x axis. x-axis limits. p-value threshold to use for colouring points by significance level. If NULL (default) then colour layer won't be applied.

ggplot object