Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Pathway and regulator activity

A gene-set test answers one question of one contrast. Scores answer it for every profile: how active is a regulator or a pathway in each sample, or in each cell type’s response? A transcription factor raises some of its targets and lowers others, and a signalling pathway leaves a footprint of genes that respond to it. CollecTRI Müller-Dott et al., 2023 and PROGENy Schubert et al., 2018 give each such source signed weights on its targets, and ulm scores the sources from them as decoupler does Mompel et al., 2022; GSVA scores gene sets, whose genes count alike Hänzelmann et al., 2013. Gene-set tests explains the methods. This page scores the Kang data Kang et al., 2018 (the kang2018 dataset of the Datasets page).

collectri and progeny download their networks on first use, check them against pinned digests and keep them in a cache. By default collectri() keeps the interactions whose sources allow commercial use, the licence level a company may use (Datasets gives the terms).

CytePool 0.1.dev54+g3f0cbb52e
Network: 1,171 sources, 39,896 edges, 6,505 target genes
  name: CollecTRI; version: 2.0 (Zenodo record 8192729); licence: CC BY 4.0 (Zenodo record 8192729); level 'commercial': the interactions of resources that OmniPath lists for commercial use, without those that GEREDB (listed for academic use) alone supports; each resource keeps its own terms
  read from CollecTRI_regulons.csv, SHA-256 4473c9189dd53dacc80297709ad1452dda1086a1cc2185f9a56146c261668701
  sources: MYC (853), SPI1 (332), SMAD3 (159) and 1,168 more

Regulators of each cell type’s response

Scored on the moderated t-statistics of a contrast, a regulator is active when its activated targets go up and its repressed targets go down. ulm scores every cell type of the result, one profile each; the bars show the regulators with the largest scores in the CD14+ monocytes, and the heatmap the 25 with the largest scores in any cell type.

Bars of the 25 transcription factors with the largest absolute activities in the response of the CD14+ monocytes, the ULM t-statistics of CollecTRI's regulons on the moderated t-statistics, in decreasing order from the top and coloured by their value: STAT1 at about 11.5, IRF1 at 10.5, STAT2 at 8, then NFKB1, IRF9 and RELA near 7, down to FOXO3 at about 3.3, all in shades of red; TRERF1 and ZBTB4, at about -3.4, are pale blue.
Heatmap of the activities of 25 transcription factors (rows) in the response of each of eight cell types (columns), coloured from blue for negative through grey to red for positive, up to about 17. STAT1, IRF1, STAT2 and IRF9 are active in every cell type, most in the CD4 T cells; NFKB1, RELA, IRF2 and IRF3 are moderately active in most. Dark grey cells, frequent in the CD8 T cells and the megakaryocytes, mark regulators with fewer than 5 targets among a cell type's tested genes.

STAT1, IRF1 and STAT2 lead the monocytes’ response, as camera ranked their targets (Gene sets and pathways), now with each target counted with its sign. The same regulators are active in the response of every cell type, most in the CD4 T cells. A regulator with too few targets among a cell type’s tested genes has no score there, drawn dark grey: fewer genes pass the filter where the profiles are small, as in the CD8 T cells and the megakaryocytes.

Pathways in every sample

Scored on the log-CPM values of one cell type, every sample gets an activity for each pathway, which can be drawn, compared and tested with the design like the expression of a gene. PROGENy’s footprints are those of 14 pathways in human cells.

Heatmap of the activities of PROGENy's 14 pathways (rows) in the 16 CD14+ monocyte samples (columns), the 8 controls on the left and the 8 stimulated samples on the right under a strip of their condition's colour, coloured from blue through grey to red. JAK-STAT goes from about 0 in the controls to about 13 in every stimulated sample; NFkB and TNFa rise from about 3 to about 10; MAPK and EGFR fall a little; the other pathways change little.
pathway         t  adjusted p
JAK-STAT     22.3     5.1e-08
NFkB         13.5     1.0e-06
p53          12.9     1.2e-06
VEGF         10.4     6.3e-06
TNFa         10.2     6.5e-06
Hypoxia       6.4     1.8e-04
Androgen      3.5     8.0e-03
WNT          -1.6     1.5e-01
Estrogen     -2.0     7.7e-02
PI3K         -5.6     4.6e-04
Trail        -6.4     1.8e-04
TGFb         -6.4     1.8e-04
EGFR        -14.4     7.8e-07
MAPK        -14.9     7.8e-07

JAK-STAT, through which interferons signal, rises in every stimulated sample, with NFkB and TNFa, while MAPK and EGFR fall. The test, which pairs each donor’s samples, also finds smaller shifts that every donor shares, such as those of p53 and VEGF, which the heatmap barely shows.

Scores of gene sets in every sample

gsva scores each gene set in every sample from how the set’s genes rank against the sample’s other genes, each gene measured against its own distribution across the samples. Here the sets are the regulators’ targets, without their signs; as GSVA’s guide does, the scores are tested with limma, with a prior that follows the sets’ sizes, and the heatmap shows the 20 sets that differ most between the conditions.

Heatmap of the GSVA scores of the target sets of 20 transcription factors (rows), those that differ most between the conditions, in the 16 CD14+ monocyte samples (columns), the 8 controls on the left and the 8 stimulated samples on the right, coloured from blue (about -0.6) through grey to red (about 0.6). The sets of STAT1, IRF1, REL, IRF4, IRF3, NFKB1 and RELA score low in every control and high in most stimulated samples; those of NRF1 and DNMT1 score high in most controls and low after the stimulation.

The target sets of the interferon regulators score low in the controls and high after the stimulation. GSVA treats a set’s targets alike, whether the regulator activates or represses them; the activities above weigh them by their signs.

Choices

  • A contrast or the samples. Score a contrast’s statistics to see which regulators drive a response, in each cell type; score the samples to compare them, correlate activities with other measurements, or test them with any design.

  • ULM, MLM or the weighted aggregate. ulm is decoupler’s default for regulators and pathways alike; mlm fits all the sources at once, which separates regulators whose targets overlap; weighted_aggregate gives the weighted mean or sum of the targets’ values, the sum being PROGENy’s original score, with permutation p-values.

  • Activities or scores. Activities weigh each target by its sign and weight, so that a repressed target counts against its regulator; GSVA and the other pathway scores (ssgsea, combined_z_scores, plage) treat a set’s genes alike.

  • The networks. collectri(licence="academic") adds the interactions that only a resource listed for academic use supports. progeny() keeps each pathway’s genes with a p-value below 0.05, as decoupler does, and progeny(top=100) the 100 most significant, as progeny’s getModel does by default; organism="mouse" gives the mouse model. A source with fewer than min_targets targets among the genes of a profile (5 by default) gets no score, drawn dark grey in the heatmaps.

  • One contrast, one set. To test whether a set responds in one contrast, the tests of Gene sets and pathways use every gene’s statistic and allow for the correlation between genes.

References
  1. Müller-Dott, S., Tsirvouli, E., Vazquez, M., Ramirez Flores, R. O., Badia-i Mompel, P., Fallegger, R., Türei, D., Lægreid, A., & Saez-Rodriguez, J. (2023). Expanding the coverage of regulons from high-confidence prior knowledge for accurate estimation of transcription factor activities. Nucleic Acids Research, 51(20), 10934–10949. 10.1093/nar/gkad841
  2. Schubert, M., Klinger, B., Klünemann, M., Sieber, A., Uhlitz, F., Sauer, S., Garnett, M. J., Blüthgen, N., & Saez-Rodriguez, J. (2018). Perturbation-response genes reveal signaling footprints in cancer gene expression. Nature Communications, 9(1), 20. 10.1038/s41467-017-02391-6
  3. Badia-i Mompel, P., Vélez Santiago, J., Braunger, J., Geiss, C., Dimitrov, D., Müller-Dott, S., Taus, P., Dugourd, A., Holland, C. H., Ramirez Flores, R. O., & Saez-Rodriguez, J. (2022). decoupleR: ensemble of computational methods to infer biological activities from omics data. Bioinformatics Advances, 2(1), vbac016. 10.1093/bioadv/vbac016
  4. Hänzelmann, S., Castelo, R., & Guinney, J. (2013). GSVA: gene set variation analysis for microarray and RNA-Seq data. BMC Bioinformatics, 14(1), 7. 10.1186/1471-2105-14-7
  5. Kang, H. M., Subramaniam, M., Targ, S., Nguyen, M., Maliskova, L., McCarthy, E., Wan, E., Wong, S., Byrnes, L., Lanata, C. M., Gate, R. E., Mostafavi, S., Marson, A., Zaitlen, N., Criswell, L. A., & Ye, C. J. (2018). Multiplexed droplet single-cell RNA-sequencing using natural genetic variation. Nature Biotechnology, 36(1), 89–94. 10.1038/nbt.4042