# johnnie19/mrsa-dual-therapy-outcomes architecture

> Architecture diagram of the GitHub repository johnnie19/mrsa-dual-therapy-outcomes, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/johnnie19/mrsa-dual-therapy-outcomes
- Repository: https://github.com/johnnie19/mrsa-dual-therapy-outcomes

## Overview

This repository is a small research-analysis project, not a service or application. Its workflow is to analyze cleaned MRSA patient data for associations between dual-therapy duration and clinical outcomes, apply the documented statistical methods, visualize results, and produce a report. The README documents mortality, readmission, recurrence, adverse effects, and composite failure as outcomes. No source excerpts were provided, so the graph reflects documented capabilities and does not infer internal notebook calls or implementation details.

Main entry points: [`notebook/mrsa_bacteria_project.Rmd`](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd) (MRSA analysis notebook), [`data/mrsa_cleaned.csv`](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/data/mrsa_cleaned.csv) (Cleaned MRSA data), [`figures`](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/tree/main/figures) (Analysis figures), [`report/mrsa_bacteria_project.pdf`](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/report/mrsa_bacteria_project.pdf) (Rendered report)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Study data"]
  node_dataset[("Cleaned MRSA data<br/>[mrsa_cleaned.csv]")]
end

subgraph group_analysis["Analysis"]
  node_notebook["MRSA analysis notebook"]
  node_outcomes["Clinical outcomes"]
  node_statistics["Statistical tests"]
  node_visualization["Data visualizations"]
end

subgraph group_outputs["Results"]
  node_figures["Analysis figures"]
  node_report["Rendered report"]
end

node_researcher(("Researcher"))

node_researcher -->|"runs analysis"| node_notebook
node_notebook -->|"uses data"| node_dataset
node_notebook -->|"examines outcomes"| node_outcomes
node_notebook -->|"applies methods"| node_statistics
node_notebook -->|"creates visualizations"| node_visualization
node_notebook -->|"renders report"| node_report
node_visualization -->|"produces figures"| node_figures

click node_dataset "https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/data/mrsa_cleaned.csv"
click node_notebook "https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd"
click node_outcomes "https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd"
click node_statistics "https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd"
click node_visualization "https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd"
click node_figures "https://github.com/johnnie19/mrsa-dual-therapy-outcomes/tree/main/figures"
click node_report "https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/report/mrsa_bacteria_project.pdf"

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_dataset toneBlue
class node_notebook,node_outcomes,node_statistics,node_visualization toneAmber
class node_figures,node_report toneMint
class node_researcher toneIndigo
```

## Components

### Study data

- [Cleaned MRSA data](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/data/mrsa_cleaned.csv): `data/mrsa_cleaned.csv`

### Analysis

- [MRSA analysis notebook](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd): `notebook/mrsa_bacteria_project.Rmd`
- [Clinical outcomes](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd): `notebook/mrsa_bacteria_project.Rmd`
- [Statistical tests](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd): `notebook/mrsa_bacteria_project.Rmd`
- [Data visualizations](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/notebook/mrsa_bacteria_project.Rmd): `notebook/mrsa_bacteria_project.Rmd`

### Results

- [Analysis figures](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/tree/main/figures): `figures`
- [Rendered report](https://github.com/johnnie19/mrsa-dual-therapy-outcomes/blob/main/report/mrsa_bacteria_project.pdf): `report/mrsa_bacteria_project.pdf`

### Other components

- **Researcher**

## Connections

- Researcher → MRSA analysis notebook: runs analysis (evidence: `README.md`)
- MRSA analysis notebook → Cleaned MRSA data: uses data (evidence: `README.md`)
- MRSA analysis notebook → Clinical outcomes: examines outcomes (evidence: `README.md`)
- MRSA analysis notebook → Statistical tests: applies methods (evidence: `README.md`)
- MRSA analysis notebook → Data visualizations: creates visualizations (evidence: `README.md`)
- MRSA analysis notebook → Rendered report: renders report (evidence: `README.md`)
- Data visualizations → Analysis figures: produces figures (evidence: `README.md`)
