Skip to contents

Creates a combined visualization with forest plot, scatter plot, and funnel plot

Usage

plot_combined(
  care_results,
  highlight_invalid = TRUE,
  exponentiate = FALSE,
  title = "MRcare Analysis Results"
)

Arguments

care_results

Results object from mr_care function

highlight_invalid

Whether to highlight invalid instruments. Default is TRUE

exponentiate

Whether to exponentiate estimates in forest plot. Default is FALSE

title

Main title for the combined plot. Default is "MRcare Analysis Results"

Value

A grid-based combined plot

Examples

if (FALSE) { # \dontrun{
results <- mr_care(exposure_data, outcome_data)
plot_combined(results)
} # }