The pipeline produces four types of visualizations for each meta-analysis model: forest plots, contour-enhanced funnel plots, Doi plots, and Copas model plots. Forest plots are saved as PDF files toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/namakala/inappropriate-acid-suppressor-agent-use/llms.txt
Use this file to discover all available pages before exploring further.
docs/figures/ and are generated as named targets; the remaining plots are rendered inline within the Quarto report. Each visualization type serves a distinct diagnostic purpose, from displaying per-study estimates to assessing publication bias.
Forest plots
Forest plots are generated by thevizForest() function in src/R/visualize.R. It wraps meta::forest() with a consistent column layout and sort order.
- Left columns: Study, Sample Size, Events, Weight (%), Proportion, 95% CI
- Sort order: Studies are sorted by
TE(effect size) in ascending order - x-axis: Fixed to
c(0, 1)on the back-transformed probability scale backtransf = TRUE: Freeman-Tukey double arcsine estimates are back-transformed to proportions before displayprediction = TRUE: A 95% prediction interval is shown to communicate expected prevalence in future similar studies
file argument (passed via ...) controls the PDF output path. The targets pipeline calls vizForest() with explicit file paths:
- Overall model:
docs/figures/meta-analysis-prevalence.pdf - Subgroup models:
docs/figures/subgroup-meta-analysis-{colname}.pdf
Funnel plots
Funnel plots are generated by thevizFunnel() function, also in src/R/visualize.R. They use meta::funnel() with type = "contour" to produce contour-enhanced plots.
plt_funnel_prop) and for each subgroup (plt_funnel_subgroup_*).
Doi plots
Doi plots are generated usingmetasens::doiplot() and are rendered inline in the Quarto report rather than saved as standalone files.
Copas model plots
For each model where a Copas selection model was fit, the plot method provides a graphical summary of how the pooled estimate and its confidence interval change under varying assumptions about the degree of selection bias.mod_copas_prop and mod_copas_subgroup_* targets.