Skip to content

Co-expression — Gene co-expression network

In the app: Networks › Co-expression

Available when the project has DESeq2 results. It also needs the normalised count matrix (all.normalised_counts.tsv); without it the page says Normalised counts data not available.

Co-expression shows which significant genes rise and fall together across samples. It correlates the expression of the contrast's most significant genes across every sample and draws the strongly correlated pairs as a network. It is computed from your own data, so — unlike PPI — it works for any organism and needs no external database.

Co-expression — example output

Example output from the sample project.

How it is computed

The report takes the significant genes of the current contrast (by the adjusted p-value and log2 fold-change thresholds), keeps the Max DEGs most significant, log2-transforms their normalised counts (log2(count + 1)), and computes the Pearson correlation between every pair of genes across all samples. Pairs with |r| at or above Min |correlation| become edges; the strongest Max edges are kept.

Findings

  • "Pairwise correlations computed for N significant genes."
  • "N genes connected by N edges (|r| >= cutoff): N positive, N negative."
  • "Most connected gene: gene (N edges)." — named by its gene symbol where the project's annotation has one.

On a single-cell project a warning comes first: Single-cell project — read this correlation with care. The pseudobulk matrix spans every cell type, so correlation across it tracks cell-type identity rather than co-regulation — two genes both high in one cell type and low in another correlate near 1 without being functionally related.

Other messages: No significant DEGs found with current thresholds., Only N DEGs found in normalised counts. Need at least 3., and No gene pairs with |correlation| >= cutoff. Try lowering the minimum correlation threshold.

Filters

Max DEGs

Slider, 10–200, default 50. How many of the most significant genes enter the correlation.

Min |correlation|

Slider, 0–1 in steps of 0.05, default 0.70. Minimum absolute Pearson correlation to draw an edge.

Max edges

Slider, 10–500 in steps of 10, default 100. Only the strongest pairs, by |r|, are drawn.

Co-expression network

Titled Co-expression Network — N genes, N edges (|r| >= cutoff). A force-directed layout: each node is a gene with at least one edge, labelled with its gene symbol where known (otherwise its ID).

  • Node colour — Up-regulated or Down-regulated in the contrast, in the Up and Down colours.
  • Node size — grows with the number of edges, starting from the Dot Size setting.
  • Edges — Positive correlation in the Up colour, Negative correlation in the Down colour.
  • Click a legend entry to hide or show that group. Hover a node for its log2FC, padj and number of connections.

Raw data

Raw data — Hub genes (by connectivity)

Open by default. The most connected genes, up to Top N, with Download CSV.

Column Meaning
Gene gene ID
Connections edges in this network
Direction Up / Down in the contrast
log2FC log2 fold change
padj adjusted p-value
Gene Name gene symbol, when known
Description gene description

Raw data — Co-expression edges

Every edge, strongest first, with Download CSV: Gene A, Gene A Name, Gene B, Gene B Name, Pearson r.

Raw data — Correlation matrix (connected genes)

A heatmap titled Pairwise Pearson Correlation of every connected gene against every other, red for positive and blue for negative, with r printed in each cell.

Report settings that apply

  • Contrast — whose significant genes are used. The correlation itself is across all samples, not only the two groups of the contrast.
  • Adjusted p-value threshold and log2 Fold Change threshold — define the significant genes.
  • Filter by gene ID / Filter by gene desc — restrict to chosen genes.
  • Top N — rows in the hub-gene table.
  • Appearance — Up, Down and font colours, Dot Size, plot size.

See Report Settings.

Reading it

Genes chosen because they change in the same contrast will often correlate simply because they all differ between the two groups — a tight positive cluster of up-regulated genes may say no more than "these went up together". Negative edges, and structure within one direction, are more informative. Lower Min |correlation| to see weaker patterns, raise it to keep only the strongest. For a network that ranks the most connected genes, see Hub Network.