| GWASForestPlots-class | R Documentation |
A GWASForestPlots object is returned by GWAS_forest().
It holds one ggplot object per outcome-exposure pair — each plot
shows per-instrument (SNP-level) causal estimates alongside a pooled IVW
estimate — together with the metadata needed to filter and export subsets.
plotsNamed list of ggplot objects. Names follow the
pattern "Outcome::Exposure".
outcomesCharacter vector of outcome labels, parallel to
plots.
exposuresCharacter vector of exposure labels, parallel to
plots.
export_forest_plots(object, save_dir, file_type, width,
height, dpi, outcome, exposure)Saves plots to disk. Optionally filter by outcome,
exposure, or both to export a subset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.