# bigomics/wgcnaplus architecture

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

- Interactive diagram: https://gitdiagram.com/bigomics/wgcnaplus
- Repository: https://github.com/bigomics/wgcnaplus

## Overview

WGCNAplus is an R package for weighted gene co-expression network analysis, with apparent single- and multi-omics, consensus, preservation, enrichment, visualization, reporting, and AI-assisted capabilities inferred from source filenames. The likely user workflow is to compute networks, analyze modules and traits, then visualize or report results. No README content or source excerpts were provided, so relationships between stages cannot be verified; the graph therefore shows components without speculative edges.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_network["Network Analysis"]
  node_compute["Network Computation<br/>[compute.R]"]
  node_multiomics["Multi-omics<br/>[multiomics.R]"]
  node_utils["Shared Utilities<br/>[utils.R]"]
end

subgraph group_comparative["Comparative Analysis"]
  node_consensus["Consensus Networks<br/>[consensus.R]"]
  node_preservation["Module Preservation<br/>[preservation.R]"]
end

subgraph group_results["Results and Reporting"]
  node_stats["Gene Statistics<br/>[stats.R]"]
  node_enrichment["Enrichment Analysis<br/>[enrichment.R]"]
  node_playdata["Example Data<br/>[playdata.R]"]
end

subgraph group_interfaces["Visualization and AI"]
  node_dendro["Dendrogram Plots<br/>[plot-dendro.R]"]
  node_eigengene["Eigengene Plots<br/>[plot-eigengene.R]"]
  node_heatmap["Heatmap Plots<br/>[plot-heatmap.R]"]
  node_lasagna["Lasagna Plots<br/>[plot-lasagna.R]"]
  node_moduleplots["Module Plots<br/>[plot-module.R]"]
  node_multiplots["Multi-omics Plots<br/>[plot-multi.R]"]
  node_report["Report Generation<br/>[report.R]"]
  node_ai["AI Helpers<br/>[ai-helpers.R]"]
end

click node_compute "https://github.com/bigomics/wgcnaplus/blob/main/R/compute.R"
click node_multiomics "https://github.com/bigomics/wgcnaplus/blob/main/R/multiomics.R"
click node_consensus "https://github.com/bigomics/wgcnaplus/blob/main/R/consensus.R"
click node_preservation "https://github.com/bigomics/wgcnaplus/blob/main/R/preservation.R"
click node_stats "https://github.com/bigomics/wgcnaplus/blob/main/R/stats.R"
click node_enrichment "https://github.com/bigomics/wgcnaplus/blob/main/R/enrichment.R"
click node_playdata "https://github.com/bigomics/wgcnaplus/blob/main/R/playdata.R"
click node_dendro "https://github.com/bigomics/wgcnaplus/blob/main/R/plot-dendro.R"
click node_eigengene "https://github.com/bigomics/wgcnaplus/blob/main/R/plot-eigengene.R"
click node_heatmap "https://github.com/bigomics/wgcnaplus/blob/main/R/plot-heatmap.R"
click node_lasagna "https://github.com/bigomics/wgcnaplus/blob/main/R/plot-lasagna.R"
click node_moduleplots "https://github.com/bigomics/wgcnaplus/blob/main/R/plot-module.R"
click node_multiplots "https://github.com/bigomics/wgcnaplus/blob/main/R/plot-multi.R"
click node_report "https://github.com/bigomics/wgcnaplus/blob/main/R/report.R"
click node_ai "https://github.com/bigomics/wgcnaplus/blob/main/R/ai-helpers.R"
click node_utils "https://github.com/bigomics/wgcnaplus/blob/main/R/utils.R"

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_compute,node_multiomics,node_utils toneBlue
class node_consensus,node_preservation toneAmber
class node_stats,node_enrichment,node_playdata toneMint
class node_dendro,node_eigengene,node_heatmap,node_lasagna,node_moduleplots,node_multiplots,node_report,node_ai toneRose
```

## Components

### Network Analysis

- [Network Computation](https://github.com/bigomics/wgcnaplus/blob/main/R/compute.R): `R/compute.R`
- [Multi-omics](https://github.com/bigomics/wgcnaplus/blob/main/R/multiomics.R): `R/multiomics.R`
- [Shared Utilities](https://github.com/bigomics/wgcnaplus/blob/main/R/utils.R): `R/utils.R`

### Comparative Analysis

- [Consensus Networks](https://github.com/bigomics/wgcnaplus/blob/main/R/consensus.R): `R/consensus.R`
- [Module Preservation](https://github.com/bigomics/wgcnaplus/blob/main/R/preservation.R): `R/preservation.R`

### Results and Reporting

- [Gene Statistics](https://github.com/bigomics/wgcnaplus/blob/main/R/stats.R): `R/stats.R`
- [Enrichment Analysis](https://github.com/bigomics/wgcnaplus/blob/main/R/enrichment.R): `R/enrichment.R`
- [Example Data](https://github.com/bigomics/wgcnaplus/blob/main/R/playdata.R): `R/playdata.R`

### Visualization and AI

- [Dendrogram Plots](https://github.com/bigomics/wgcnaplus/blob/main/R/plot-dendro.R): `R/plot-dendro.R`
- [Eigengene Plots](https://github.com/bigomics/wgcnaplus/blob/main/R/plot-eigengene.R): `R/plot-eigengene.R`
- [Heatmap Plots](https://github.com/bigomics/wgcnaplus/blob/main/R/plot-heatmap.R): `R/plot-heatmap.R`
- [Lasagna Plots](https://github.com/bigomics/wgcnaplus/blob/main/R/plot-lasagna.R): `R/plot-lasagna.R`
- [Module Plots](https://github.com/bigomics/wgcnaplus/blob/main/R/plot-module.R): `R/plot-module.R`
- [Multi-omics Plots](https://github.com/bigomics/wgcnaplus/blob/main/R/plot-multi.R): `R/plot-multi.R`
- [Report Generation](https://github.com/bigomics/wgcnaplus/blob/main/R/report.R): `R/report.R`
- [AI Helpers](https://github.com/bigomics/wgcnaplus/blob/main/R/ai-helpers.R): `R/ai-helpers.R`
