Skip to content

Are there molecularly distinct subgroups in this cohort?

Give it a cohort and it clusters patients on more than one layer, measures how stable the groups are before naming any, and says so when the structure is a gradient. Here, GSE157194: atopic dermatitis skin from 57 patients, before treatment and three months into it.

localhost · Inflexa Pro

Question: Do baseline lesions in GSE157194 fall into distinct patient groups?

Plan: Baseline patient groups in atopic dermatitis. Steps: QC and outlier check, Per-sample pathway scores, TF activity, Patient clustering, Baseline response panel.

Findings: Three groups along one inflammation gradient; The response panel is exploratory.

Sessions built from public datasets: GSE157194, atopic dermatitis skin before and after treatment.

  • 56 baseline lesions clustered, one per patient
  • 0.131 silhouette, weak structure
  • 0.499 bootstrap ARI, borderline stability
  • 492 of 761 regulators differ in lesions
  • 13 genes in an exploratory response panel
The plan

How the analysis runs.

Each step is one node of the plan beside it, approved before anything ran.

Baseline patient groups in atopic dermatitis

bulk RNA-seq · 5 of 22 steps on 4 of 8 tracks

Score each baseline lesion by pathway and regulator activity, cluster the patients, then test whether baseline expression predicts the change at month 3.

  • T1S2QC and outlier check, completed, depends on no step
  • T3S4Per-sample pathway scores, completed, depends on T1S2
  • T4S1TF activity, completed, depends on T1S2
  • T6S1Patient clustering, completed, depends on T3S4, T4S1
  • T6S2Baseline response panel, completed, depends on T3S4
Approved by you
  1. 01

    T1S2

    QC and outlier check

    Library sizes, gene detection and outliers by scanpy QC, MAD filtering. One baseline lesion falls out as an outlier, leaving 165 samples.

  2. 02

    T3S4

    Per-sample pathway scores

    Every sample scored on the 50 Hallmark pathways with decoupler ULM, so each patient carries a pathway profile to cluster on.

  3. 03

    T4S1

    TF activity

    Regulator activity per sample with decoupler ULM on CollecTRI regulons, 761 regulators scored, lesional skin against non-lesional.

  4. 04

    T6S1

    Patient clustering

    Leiden clustering of the 56 baseline lesions on four modalities, with bootstrap ARI for stability, so a group is named only as far as it holds.

  5. 05

    T6S2

    Baseline response panel

    LASSO regression with LOO-CV on the 29 patients biopsied again at month 3, predicting a composite inflammatory pathway response from baseline expression.

The evidence

Three chapters from the run.

Each chapter is one thing the run found, the decision it led to, and the figure behind it with its source.

01

Clustering baseline lesions gives three groups along one inflammation gradient.

Möbus and colleagues sequenced skin biopsies from patients with atopic dermatitis before and 12 weeks into dupilumab or cyclosporine (PMID 32615169); the GEO deposit holds fewer patients than the paper reports. Leiden clustering on pathway scores splits the 56 baseline lesions into groups of 19, 19 and 18. C1, the low-inflammation group, has lower NF-κB, oxidative phosphorylation and SP1 activity than C0 and C2. The structure is weak: silhouette 0.131, bootstrap ARI 0.499, and the four modalities agree at best at ARI 0.277.

The decision

Read the groups as points on one continuum. Whether the low-inflammation group responds differently is untested here.

Baseline lesions by cluster Atopic dermatitis report (GSE157194), Patient Subtyping & Biomarkers
Values in the chart
RowPatients
C019
C1, low inflammation19
C218

Pathway-based Leiden clusters at resolution 1, 56 of 57 patients assigned, since one baseline lesion was removed as an outlier. Silhouette 0.131 and bootstrap ARI 0.499: borderline stability, as the report says, consistent with a continuum.

02

NF-κB and AP-1 lead the regulators that set lesions apart.

Of 761 regulators scored with CollecTRI, 492 differ between lesional and non-lesional skin at FDR 0.05, and all of the report's top 30 are higher in lesions. RELA and NFKB1 lead, with JUN, AP-1, STAT3 and STAT1 in the top ten.

The decision

Read the clusters against these regulators: the low-inflammation group is the one with lower NF-κB activity.

Top ten transcription factors, lesional against non-lesional skin Atopic dermatitis report (GSE157194), Transcription Factor Activity
Values in the chart
RowActivity difference, lesional minus non-lesional
RELA1.731
NFKB11.615
JUN1.590
NFKB1.539
SPI11.471
AP11.447
STAT31.305
ETS11.241
STAT11.157
REL1.051

Activity difference with decoupleR ULM on CollecTRI regulons, the report's top ten of 492 regulators significant at FDR 0.05, adjusted p from 1.8e-11 to 8.4e-10.

03

A 13-gene baseline panel predicts the response, and the run calls it exploratory.

On the 29 patients biopsied again at month 3, LASSO with leave-one-out cross-validation picks 13 genes that predict a composite inflammatory pathway response at r 0.428. The deposit has no EASI or SCORAD, so response is defined from the transcriptome. R² is 0.113 with a 95% CI from −0.456 to 0.428, crossing zero, and the correlation pre-screening ran outside the leave-one-out loop, which biases the estimate upward.

The decision

Treat the panel as a lead for a cohort with clinical scores, and test it there before any use.

LASSO-selected baseline genes (13) Atopic dermatitis report (GSE157194), Patient Subtyping & Biomarkers
GeneLASSO coefficientSHAP importanceDirection
CLEC4OP+0.23020.1879More response
IL19−0.20820.1755Less response
LINC02610+0.18670.1437More response
CLVS1+0.15610.1365More response
TDRD1−0.09910.0779Less response
RPS14P1+0.08060.0716More response
GSTA9P+0.05160.0430More response
CD274−0.05240.0410Less response
LINC00431−0.04340.0392Less response
DHRS4L1+0.02240.0181More response
TMEM229A−0.00750.0059Less response
LINC02119+0.00510.0041More response
TNFAIP6−0.00130.0010Less response

As the report lists them, by SHAP importance. More response means higher baseline expression predicts a larger fall in the inflammatory pathway score.

More from the runs

Two more results, one from this run and one from another run.

Each tab is one further result, with its source under its title.

Cell-type scores, lesional against non-lesional skin (21) Atopic dermatitis report (GSE157194), Cell-Type Composition
Values in the chart
RowActivity difference, lesional minus non-lesional
Plasma cells0.344
NK cells0.334
Eosinophils0.332
Neutrophils0.274
T helper cells0.232
Macrophages0.218
T cells0.193
Dendritic cells0.186
Monocytes0.176
B cells0.158
Gamma delta T cells0.087
Keratinocytes0.040
T regulatory cells0.028
Langerhans cells0.010
Endothelial cells0.010
Mast cells−0.022
Pericytes−0.041
Fibroblasts−0.048
Basophils−0.052
Melanocytes−0.061
Smooth muscle cells−0.099

Each cell type's marker-based activity score, lesional minus non-lesional skin, from decoupler ULM and MLM with PanglaoDB markers across 165 samples, in the report's order. Gray where FDR is 0.05 or above. Marker scores track cell proportions only loosely, so read them as activity.

Findings and the record

What the run found, and how each result was made.

Each finding names the step it came from and how sure the run is. Every file carries a content hash, lineage shows how any figure was made, and the signature shows the record has not changed since.

  • Three groups along one inflammation gradient

    no reference

    Weak structure: silhouette 0.131 and bootstrap ARI 0.499 across 56 baseline lesions, so the groups read as a continuum.

    Medium confidenceT6S1
  • The response panel is exploratory

    no reference

    13 genes predict a composite inflammatory response at r 0.428 out of fold, with R² 0.113 and a 95% CI crossing zero.

    Low confidenceT6S2
  • NF-κB and STAT regulators lead the lesion signature

    no reference

    RELA and NFKB1 top the 492 regulators that differ in lesional skin, with STAT3 and STAT1 in the top ten, and C1, the low-inflammation group, has the lower NF-κB activity.

    High confidenceT4S1

Illustration

inflexa · prov

$ inflexa prov lineage output/patient_clusters.csv

output/patient_clusters.csv sha256:71c0…9e2d

t6s1_patient_clustering exit 0

output/pathway_scores.csv sha256:e48b…13a6

t3s4_pathway_scores exit 0

GSE157194 source

model anthropic/claude-opus-5 · step T6S1

signed ed25519:94f3…0b7a

$ inflexa prov verify

ok · chain intact · signature valid

The record's shape for this run, with placeholder hashes. Each file carries its hash and each step its exit code.

Who it is for

For anyone deciding whether a cohort has subgroups.

  • Clinical scientist

    See which pathways and regulators a group differs on, and what the data cannot say about response.

  • Precision medicine lead

    Find out whether a cohort holds real patient groups before you design a trial around them, with the stability of each group measured.

  • Biostatistician

    Assess whether molecular subgroups translate to outcome differences with rigorous covariate-adjusted survival analysis.

  • Academic researcher

    Test whether molecular subgroups in a public cohort are real, using multiple methods, on a machine you already own.

Start with a question you already have.

Install the CLI and pay nobody but your model provider, open a free Cloud account, or talk to us about Pro for your team.