A gallery of the graphics used or proposed for evidence synthesis: pairwise meta-analysis, network meta-analysis, and indirect treatment comparisons, including population-adjusted methods (MAIC, STC, ML-NMR, NMI, ML-UMR). Every entry shows a figure rendered from real R code, explains how to read it, lists common misreadings, and gives references.
Site: https://choxos.github.io/MetaPlots/
_quarto.yml Quarto website configuration
index.qmd Gallery home page
guide.qmd, about.qmd Reporting guide and about page
methods/*.qmd One landing page per method
plots/<family>/*.qmd One page per plot
R/plots/<name>.R The script that draws each figure (same name as its page)
R/models/*.R Shared models used by several figures (fits are cached in R/cache/)
R/render.R Renders figures to figs/<name>.png
_templates/, assets/ Gallery template, theme, Lua filter, and scripts
docs/ Rendered site (published by GitHub Pages)
The code shown on each page is read directly from R/plots/<name>.R by the Lua filter in assets/metaplots.lua, so the displayed code is always the code that produced the figure.
Requirements: R (4.4 or later) with the packages loaded in R/plots/*.R, and Quarto (1.5 or later).
Rscript R/render.R # render every figure (slow: several Bayesian models)
Rscript R/render.R forest-plot # render selected figures
quarto render # build the site into docs/MP_CORES sets how many figures render in parallel (default 4). Bayesian figures that share a model reuse the cached fit in R/cache/ until the model file changes.
The site is built into docs/. In the repository settings, set GitHub Pages to deploy from the main branch and the /docs folder.
- Write
R/plots/<name>.Rand add its size toR/render.Rif the default does not fit. - Run
Rscript R/render.R <name>. - Write
plots/<family>/<name>.qmdusing an existing page as a template (front matter fields:title,subtitle,description,image,caption,family,categories,status,purpose,inputs,software,order). - Run
quarto render.
MIT. Datasets belong to their respective packages and original authors.