# mdiorio371/rasr architecture

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

- Interactive diagram: https://gitdiagram.com/mdiorio371/rasr
- Repository: https://github.com/mdiorio371/rasr

## Overview

This repository documents a reproducible analysis of replication-associated inversions across bacterial genomes, including their prevalence, symmetry relative to replication origins, and possible mediating factors. The tree contains an R clustering script, RASR functions, a protocol, curated summary data, and a figure-generation document. No source excerpts were supplied, and the README does not specify how these files call or exchange data, so their relationships are not inferred.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_analysis["RASR analysis"]
  node_clustering["Clustering analysis"]
  node_functions["RASR functions<br/>[RASR_functions.R]"]
end

subgraph group_results["Results and figures"]
  node_summary[("Curated results")]
  node_figures["Figure generation<br/>[figures.Rmd]"]
end

subgraph group_protocol["Protocol"]
  node_protocol["Analysis protocol<br/>[RASR_protocol.Rmd]"]
end

node_researcher(("Researcher"))

click node_clustering "https://github.com/mdiorio371/rasr/blob/main/Clustering_script.R"
click node_functions "https://github.com/mdiorio371/rasr/blob/main/RASR_functions.R"
click node_summary "https://github.com/mdiorio371/rasr/blob/main/curated_data/results_summary.csv"
click node_figures "https://github.com/mdiorio371/rasr/blob/main/figures.Rmd"
click node_protocol "https://github.com/mdiorio371/rasr/blob/main/RASR_protocol.Rmd"

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_clustering,node_functions toneBlue
class node_summary,node_figures toneAmber
class node_protocol toneMint
class node_researcher toneIndigo
```

## Components

### RASR analysis

- [Clustering analysis](https://github.com/mdiorio371/rasr/blob/main/Clustering_script.R): `Clustering_script.R`
- [RASR functions](https://github.com/mdiorio371/rasr/blob/main/RASR_functions.R): `RASR_functions.R`

### Results and figures

- [Curated results](https://github.com/mdiorio371/rasr/blob/main/curated_data/results_summary.csv): `curated_data/results_summary.csv`
- [Figure generation](https://github.com/mdiorio371/rasr/blob/main/figures.Rmd): `figures.Rmd`

### Protocol

- [Analysis protocol](https://github.com/mdiorio371/rasr/blob/main/RASR_protocol.Rmd): `RASR_protocol.Rmd`

### Other components

- **Researcher**
