- Introduced by
- Faust, Raes, Friedman, Alm and colleagues
- Year
- 2012
- Type
- Integrative bioinformatics pipeline
- Family
- Bioinformatics / omics
What does it do?
Network-based microbiome diversity analysis integrates graph-theoretic co-occurrence network inference with classical alpha- and beta-diversity metrics to characterize the structural organization of microbial communities.
Rather than treating taxa as independent entities, the method models pairwise microbial associations as edges in a network, enabling identification of keystone taxa, community modules, and ecological interaction patterns that simple diversity indices cannot detect.
The intuition behind the method
Classic diversity metrics — Shannon entropy, Bray-Curtis dissimilarity — treat each microbe independently. But microbes interact: some pairs always co-occur, others repel each other, and a few 'hub' taxa anchor the entire community. Network-based analysis reconstructs these interaction structures by computing statistically supported edges between taxa, then asks network-level questions: How interconnected is the community? Which taxa are hubs? Does the network fragment into ecologically meaningful modules? The answer reveals community organization invisible to taxon-level counts alone, and links that organization to diversity states such as dysbiosis or resilience.
History
Background on microbial interaction networks is discussed by Faust and Raes (2012) in Nature Reviews Microbiology; this source is used for background only. Friedman and Alm (2012) introduced SparCC, a correlation approach developed to estimate associations from compositional count data. The integrated workflow described on this page combines such network inference with diversity and module analyses; the cited sources do not establish a single originator of this composite pipeline. Sparse inverse covariance approaches such as SPIEC-EASI were developed as alternatives to correlation-based inference, and network methods have since been applied to gut, soil, ocean and oral microbiomes.
When to use it
Use this approach when the question concerns ecological structure, associations among taxa, or community resilience, rather than only which taxa are present or how abundant they are. It suits comparisons of network topology between healthy and diseased states, assessment of how perturbations such as antibiotics, diet or disease reorganize community structure, and searches for taxa that may disproportionately stabilize a community. As a planning heuristic, about 30 samples per group is a minimum and 50-100 per group is often preferred for more stable edge recovery. These are not validated thresholds: the power needed depends on the number of taxa, the sparsity of the data and the diversity of the community, so a stability check is recommended. Below these sizes, spurious edges can dominate and network topology becomes unreliable. Avoid it when the main goal is differential abundance testing (standard DESeq2 or ANCOM-BC workflows are more direct), when sample sizes are very small, or when compositional normalization cannot be applied.
Limitations and considerations
- Edge recovery is typically unstable with small sample sizes. The heuristic guideline of about 30 samples per group (more often preferred) is not a validated threshold, and edge stability should be checked explicitly.
- Co-occurrence does not imply direct biological interaction; spurious edges arising from shared environmental gradients are a persistent concern.
- Compositional normalization choices substantially affect inferred network structure, and no single normalization is universally optimal.
- Computational cost of bootstrapping for edge significance testing scales poorly with large taxon sets.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Captures inter-taxon interaction structure invisible to univariate diversity or differential abundance methods.
- Identifies keystone taxa and hub nodes that may drive community resilience or dysbiosis.
- Enables comparison of community organization (modularity, connectance) across experimental groups beyond simple taxon lists.
- Compatible with both 16S rRNA amplicon and shotgun metagenomic data after appropriate preprocessing.
- Network topology metrics provide ecologically interpretable summaries of community complexity and stability.
Applications
- Comparing gut microbiome network topology between healthy individuals and patients with inflammatory bowel disease or colorectal cancer to identify dysbiosis-associated structural changes.
- Identifying keystone or hub taxa in soil microbiomes across land-use gradients, linking network connectivity to ecosystem functioning.
- Evaluating how antibiotic treatment reshapes microbial co-occurrence networks and reduces community resilience in the human gut.
- Characterizing ocean microbiome network modules along nutrient or temperature gradients in large-scale environmental surveys (e.g., Tara Oceans).
- Comparing infant gut network assembly trajectories across delivery modes (vaginal vs. caesarean) or feeding regimens to identify early colonization signatures.
- Integrating network-derived hub taxa with functional metagenomics to prioritize probiotic candidates or therapeutic targets.
How it works
How it works
Raw OTU or ASV count tables are either rarefied or transformed for compositional data before network inference. The centered log-ratio (CLR) transformation is a common input transformation for compositional tools; it is not a substitute for them. If rarefaction is used, its depth must be reported. Low-prevalence taxa below a minimum prevalence threshold (commonly 10-20% of samples) are filtered, and per-sample library sizes are recorded for downstream sensitivity checks.
Pairwise co-occurrence strengths are estimated with methods that account for compositional structure, typically SparCC (Friedman & Alm 2012), SPIEC-EASI, or REBACCA, yielding a sparse correlation or partial correlation matrix. Edges are filtered by significance and stability. For SparCC, significance is assessed by the resampling procedure of the tool, and a multiple-testing correction should be applied to the resulting values. For SPIEC-EASI, the sparsity parameter is set by the tool's selection procedure. The exact procedure, thresholds and parameter values are tool-dependent and should be reported. Each retained edge should also be checked for stability across bootstrap or subsampling replicates, reported as the proportion of replicates that retain it. The result is an undirected weighted or unweighted network in which nodes are taxa and edges represent statistically supported associations, not direct biological interactions.
Standard graph metrics are computed for the inferred network: node degree; betweenness centrality, the fraction of shortest paths between other node pairs that pass through a node; the clustering coefficient; modularity (Q), which measures how strongly edges concentrate within modules relative to a degree-preserving random network; average path length, the mean shortest-path length over connected node pairs; and network connectance, the fraction of realized edges among all possible node pairs. Because average path length is defined only for connected pairs, disconnected components must be handled explicitly, for example by computing metrics per component or on the largest component, and this choice must be reported. Hub taxa are identified as nodes with degree or betweenness centrality above the 90th percentile; this is a convention used in this workflow rather than a validated threshold. Network-level summaries such as connectance and average path length are compared across sample groups or perturbation states. Nestedness is omitted because it is defined for bipartite networks, not for unipartite co-occurrence graphs.
Traditional alpha-diversity indices (observed richness, Shannon, Faith's PD) and beta-diversity dissimilarities (Bray-Curtis, UniFrac) are calculated alongside network metrics, and their relationships are examined. Scalar network properties such as connectivity and modularity, computed per sample or per group, are related to environmental metadata using correlation or regression models, with permutation-based tests where sample structure makes standard p-values unreliable.
Module detection algorithms (Louvain, Infomap, or Girvan-Newman) partition the network into sub-communities of tightly co-occurring taxa. Each module is characterized by its dominant phyla, functional annotations (when metagenomics data are available), and module-level diversity. Differential network analysis compares module structure across conditions (e.g., healthy vs. diseased, pre- vs. post-treatment).
Hub taxa, keystone species candidates, and module membership are interpreted in light of ecological theory and metadata. Network resilience is assessed by simulating targeted or random node removal. Results are reported as network visualizations (e.g., Cytoscape, ggraph), supplemented by summary tables of top hub taxa and significant cross-group topology differences.
Common pitfalls
- Ignoring compositionality: applying Pearson or Spearman correlations directly to raw count or relative-abundance data inflates false positive edges. Use SparCC, SPIEC-EASI or another compositionally aware method instead. CLR is an input transformation for such tools, not a replacement for them.
- Insufficient sample size: networks inferred from small groups are often dominated by noise. Report bootstrap stability of edges and apply conservative significance thresholds. The 30-per-group figure is a planning heuristic, not a validated cut-off.
- Overinterpreting co-occurrence as causation: a strong edge indicates statistical co-occurrence, not a direct metabolic or competitive interaction; mechanistic claims require follow-up experimental validation.
- Neglecting rarefaction or prevalence filtering: including singleton taxa or highly uneven library sizes introduces abundance artifacts that can masquerade as biological associations.
- Omitting negative edges: focusing only on positive co-occurrences can miss competitive exclusion or niche partitioning patterns, which may be informative. Whether such negative associations are enriched in dysbiotic communities is study-dependent and not established by the cited sources.
Frequently asked questions
Which correlation method should I use to infer the network — SparCC, SPIEC-EASI, or Pearson?
Do not use Pearson or Spearman on raw or relative-abundance data, because microbiome data are compositional: abundances sum to a constant, which can produce spurious correlations, and the SparCC source paper reports cases where true correlations appear with the opposite sign. SparCC (Friedman & Alm 2012) was developed to estimate correlations from compositional data and is a common choice for 16S data. SPIEC-EASI uses sparse inverse covariance estimation and often yields sparser networks. Edge density depends on the method, and running two methods and comparing the top hub taxa is a reasonable check.
How many samples do I need for a reliable co-occurrence network?
Estimates from small groups are unstable. As a planning heuristic, about 30 samples per group is a minimum and 50-100 per group is often preferred for stable edge recovery. These are not validated thresholds; the required power depends on the number of taxa, sparsity and diversity. Report bootstrap edge stability (the proportion of bootstrap replicates retaining each edge), treat edges that do not persist across resampling with caution, and state the cut-off used explicitly. Small-sample networks should be interpreted as exploratory only.
What is a keystone taxon in this context and how is it identified?
A keystone taxon is a node with disproportionately high network centrality, typically measured by degree (number of connections) or betweenness centrality (how often a node lies on shortest paths between other taxa). In simulated node-deletion experiments, removing such a node can cause substantial fragmentation of the network. Centrality identifies candidates only: calling a taxon keystone requires perturbation or experimental evidence beyond the network itself. Biologically, keystone candidates are taxa whose loss might destabilize community structure, analogous to keystone species in macroecology.
Can I combine network-based analysis with standard differential abundance testing?
Yes, and the combination is informative. Differential abundance testing (DESeq2, ANCOM-BC) identifies taxa that change in relative abundance between conditions; network analysis reveals whether those taxa are also hubs or module anchors. A taxon that is both differentially abundant and highly connected is a stronger candidate biomarker or driver than one that is merely abundant.
Does rarefaction before network inference affect results?
Rarefaction reduces library-size variance at the cost of discarding data, and its effect on inferred networks is debated. Compositional approaches such as the CLR transformation are often used instead, because they retain all counts while accounting for the compositional structure. If rarefaction is used, the rarefaction depth and the proportion of samples retained should be reported.
Related methods
Sources
Friedman, J., & Alm, E. J. (2012). Inferring correlation networks from genomic survey data. PLoS Computational Biology, 8(9), e1002687.
Open DOI referenceFaust, K., & Raes, J. (2012). Microbial interactions: from networks to models. Nature Reviews Microbiology, 10(8), 538–550.
Open DOI reference