MRScatterPlots-class: S4 class to store MR scatter plots

MRScatterPlots-classR Documentation

S4 class to store MR scatter plots

Description

An MRScatterPlots object is returned by plot_mr_scatter(). It holds one plot-parameter list per outcome-exposure pair, together with the metadata needed to filter and export subsets of plots.

Slots

plots

Named list of plot-parameter lists. Names follow the pattern "Outcome::Exposure".

outcomes

Character vector of outcome labels, parallel to plots.

exposures

Character vector of exposure labels, parallel to plots.

Methods

export_scatter_plots(object, save_dir, file_type, width, height, outcome, exposure)

Saves plots to disk. Optionally filter by outcome, exposure, or both to export a subset.


autoMR documentation built on July 15, 2026, 1:07 a.m.