You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Add ecosystem analysis section to Features and Usage
Document the new co-abundance ecosystem network visualization:
Spearman correlations, Louvain community detection, taxonomic
coloring, 4 layout algorithms, 3 color modes, and FBM overlay.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/Features.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,19 @@ Build an ensemble of expert models from the best individuals across generations:
65
65
-**Coefficient direction** -- Bar chart of model coefficients showing which features push toward which class
66
66
-**Waterfall chart** -- Feature contribution decomposition for the best model
67
67
68
+
## Ecosystem Analysis
69
+
70
+
Visualize and explore microbial ecosystems as co-abundance networks, inspired by the Interpred approach (Cousin-Thorez, 2019) and the SCAPIS ecosystem work (Prifti, 2024).
71
+
72
+
-**Co-abundance network** -- Species correlation network built from the abundance matrix using pairwise Spearman correlations. Edges connect species with |rho| above a configurable threshold.
73
+
-**Community detection** -- Louvain algorithm partitions the network into ecological modules (niches). Modularity score quantifies partition quality.
74
+
-**Taxonomic coloring** -- Hierarchical color scheme: phylum base colors (SCAPIS palette) with family-level shading via lighten/darken gradients. Produces visually distinct colors for every family within each phylum.
75
+
-**Multiple layout algorithms** -- Organic (Fruchterman-Reingold with simulated annealing), Force-directed, Circle, and Radial layouts.
76
+
-**Three color modes** -- Taxonomy (phylum/family), Module (Louvain community), or Enrichment (which class each species is enriched in).
77
+
-**FBM overlay** -- Annotate network nodes with data from the Family of Best Models: prevalence of each species across models and dominant coefficient direction (+1/-1). Bridges the ecological view with the predictive view.
78
+
-**Interactive controls** -- Adjustable prevalence threshold, correlation threshold, class filtering (all/class 0/class 1), and module highlight on click.
79
+
-**Node metrics** -- Degree, betweenness centrality, per-class prevalence, mean abundance.
80
+
68
81
## Web Application (PredomicsApp)
69
82
70
83
The web application provides a complete analysis workflow:
@@ -74,7 +87,7 @@ The web application provides a complete analysis workflow:
0 commit comments