# pitakbenuos2024/dengue-forecasting-systematic-review-nma architecture

> Architecture diagram of the GitHub repository pitakbenuos2024/dengue-forecasting-systematic-review-nma, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma
- Repository: https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma

## Overview

This repository reproduces a systematic review and Bayesian network meta-analysis of dengue forecasting-model performance. The workflow covers network setup and visualization, RMSE-based quantitative synthesis, and a separate model-versus-covariate heatmap. The README documents each script’s purpose and outputs; no source excerpts were provided, so the graph shows only those documented relationships and does not infer direct script-to-script data flow.

Main entry points: [`scripts/03_heatmap.R`](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/03_heatmap.R) (Heatmap analysis), [`scripts/01_network_setup_vis.R`](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/01_network_setup_vis.R) (Network setup), [`scripts/02_nma_rmse_analysis.R`](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/02_nma_rmse_analysis.R) (RMSE meta-analysis), [`data/PME.csv`](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/data/PME.csv) (Performance data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Study inputs"]
  node_pme["Performance data<br/>[PME.csv]"]
  node_models["Model categories<br/>[Model.xlsx]"]
  node_covariates["Covariate categories<br/>[Covar.xlsx]"]
end

subgraph group_network["Network analysis"]
  node_network_setup["Network setup"]
end

subgraph group_synthesis["Bayesian synthesis"]
  node_nma["RMSE meta-analysis"]
end

subgraph group_heatmap["Covariate analysis"]
  node_heatmap["Heatmap analysis<br/>[03_heatmap.R]"]
end

subgraph group_results["Analysis results"]
  node_network_results["Network outputs"]
  node_nma_results["NMA outputs"]
  node_heatmap_results["Heatmap outputs"]
end

node_researcher(("Researcher"))

node_researcher -->|"runs"| node_network_setup
node_researcher -->|"runs"| node_nma
node_researcher -->|"runs"| node_heatmap
node_pme -->|"provides data"| node_network_setup
node_network_setup -->|"generates network"| node_network_results
node_pme -->|"provides data"| node_nma
node_nma -->|"exports synthesis"| node_nma_results
node_models -->|"provides categories"| node_heatmap
node_covariates -->|"provides categories"| node_heatmap
node_heatmap -->|"produces heatmap"| node_heatmap_results

click node_pme "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/data/PME.csv"
click node_models "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/data/Model.xlsx"
click node_covariates "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/data/Covar.xlsx"
click node_network_setup "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/01_network_setup_vis.R"
click node_nma "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/02_nma_rmse_analysis.R"
click node_heatmap "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/03_heatmap.R"
click node_network_results "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/tree/main/output"
click node_nma_results "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/tree/main/output"
click node_heatmap_results "https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/tree/main/output"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_pme,node_models,node_covariates toneBlue
class node_network_setup toneAmber
class node_nma toneMint
class node_heatmap toneRose
class node_network_results,node_nma_results,node_heatmap_results,node_researcher toneIndigo
```

## Components

### Study inputs

- [Performance data](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/data/PME.csv): `data/PME.csv`
- [Model categories](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/data/Model.xlsx): `data/Model.xlsx`
- [Covariate categories](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/data/Covar.xlsx): `data/Covar.xlsx`

### Network analysis

- [Network setup](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/01_network_setup_vis.R): `scripts/01_network_setup_vis.R`

### Bayesian synthesis

- [RMSE meta-analysis](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/02_nma_rmse_analysis.R): `scripts/02_nma_rmse_analysis.R`

### Covariate analysis

- [Heatmap analysis](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/blob/main/scripts/03_heatmap.R): `scripts/03_heatmap.R`

### Analysis results

- [Network outputs](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/tree/main/output): `output`
- [NMA outputs](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/tree/main/output): `output`
- [Heatmap outputs](https://github.com/pitakbenuos2024/dengue-forecasting-systematic-review-nma/tree/main/output): `output`

### Other components

- **Researcher**

## Connections

- Researcher → Network setup: runs (evidence: `README.md`)
- Researcher → RMSE meta-analysis: runs (evidence: `README.md`)
- Researcher → Heatmap analysis: runs (evidence: `README.md`)
- Performance data → Network setup: provides data (evidence: `README.md`)
- Network setup → Network outputs: generates network (evidence: `README.md`)
- Performance data → RMSE meta-analysis: provides data (evidence: `README.md`)
- RMSE meta-analysis → NMA outputs: exports synthesis (evidence: `README.md`)
- Model categories → Heatmap analysis: provides categories (evidence: `README.md`)
- Covariate categories → Heatmap analysis: provides categories (evidence: `README.md`)
- Heatmap analysis → Heatmap outputs: produces heatmap (evidence: `README.md`)
