Skip to content

What is this compound doing to the cell?

Point it at a perturbation, whether a compound, a cytokine or a knockout. It ranks where the response is strongest on a scale cell number cannot inflate, and tests what is shared against what is specific. Here, IFN-β in blood cells from eight lupus patients, 24,562 cells, seven lineages analyzed.

localhost · Inflexa Pro

Question: How does IFN-β act across PBMC lineages in GSE96583?

Plan: IFN-β response across lineages. Steps: Singlet object and design, Paired pseudobulk DE, Driver genes, Cell type × condition test, Pathway enrichment.

Findings: A small shared core of 61 genes; 1,906 genes respond by lineage.

Sessions built from public datasets: GSE96583, the IFN-β PBMC tutorial.

  • 24,562 cells from eight donors
  • 108 donor-paired pseudobulk libraries
  • 4,284 jointly testable genes
  • 61 core genes with no lineage difference detected
  • 1,906 lineage-specific genes, a floor
The plan

How the analysis runs.

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

IFN-β response across lineages

pln-699bc3ad · single-cell RNA-seq · 5 steps on 2 tracks

Rank lineages by response, then split shared and lineage-specific genes.

  • T1S1Singlet object and design, completed, depends on no step
  • T1S2Paired pseudobulk DE, completed, depends on T1S1
  • T1S3Driver genes, completed, depends on T1S2
  • T2S1Cell type × condition test, completed, depends on T1S2
  • T2S2Pathway enrichment, completed, depends on T2S1
Approved by you
  1. 01

    T1S1

    Singlet object and design

    Batch 2's demuxlet singlets, 24,562 after QC, with the design enumerated from the data: the unit is donor × cell type × condition, a complete grid of 128, and a cell type qualifies only when at least 6 of the 8 donors have both arms testable. Seven of the eight types qualify.

  2. 02

    T1S2

    Paired pseudobulk DE

    Raw UMI counts are summed per donor × cell type × condition, with no per-cell statistic anywhere, into 108 libraries, and each lineage is fitted on its own matrix with edgeR quasi-likelihood, ~donor + condition, donor as a fixed blocking factor. A fixed 13-gene ISG panel, scored per donor as the stimulated minus control difference in TMM-normalized log2 CPM and tested with a one-sample t on the paired differences, ranks the lineages on a scale depth cannot move.

  3. 03

    T1S3

    Driver genes

    Within each lineage, genes at FDR below 0.05 are ranked by absolute log2 fold change and by quasi-likelihood F, and the union of the two top-25 lists becomes that lineage's driver set, each driver then checked for its direction donor by donor.

  4. 04

    T2S1

    Cell type × condition test

    One joint limma-voom fit, ~ donor + cell_type * condition with sum-to-zero coding on cell type, asks per gene whether the seven lineage effects can be treated as equal, on 87 residual degrees of freedom.

  5. 05

    T2S2

    Pathway enrichment

    Hallmark sets are scored for the shared effect and for each lineage, then ranked by how much their enrichment scores vary across the seven lineages; an over-representation test on each lineage's stronger and weaker genes takes as its background the 4,274 of the 4,284 jointly testable genes that map to a symbol.

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

CD14+ monocytes and dendritic cells respond hardest, on a scale cell number cannot inflate.

Kang and colleagues pooled blood cells from eight lupus patients and treated half the pool with IFN-β for six hours (PMID 29227470). On the ISG panel's effect size, dendritic cells sit second from 384 cells, while FCGR3A+ monocytes, with the second most DE genes, sit fifth: effect size and DE count agree at only Spearman 0.714.

The decision

Rank on effect size and claim only the top two, the part of the order that holds when every unit is cut to 15 cells.

ISG panel response by lineage IFN-β PBMC tutorial, run 7a82f521, lineage_ranking.csv, section 5
Values in the chart
RowISG panel log2FC
CD14+ monocytes6.482
Dendritic cells5.550
CD4 T cells5.266
B cells5.262
FCGR3A+ monocytes4.702
CD8 T cells4.434
NK cells4.291

Paired log2FC of the 13-gene ISG panel, with its 95% CI: CD14+ monocytes 6.482 (5.507 to 7.456), dendritic cells 5.550 (5.246 to 5.853), CD4 T cells 5.266 (4.825 to 5.706), B cells 5.262 (4.835 to 5.689), FCGR3A+ monocytes 4.702 (4.105 to 5.298), CD8 T cells 4.434 (4.154 to 4.713), NK cells 4.291 (3.931 to 4.651). Dendritic cells rest on six donors, the others on eight.

02

Of 4,284 jointly testable genes, 61 form a shared core and 1,906 vary by lineage.

With sum-to-zero coding, the condition coefficient is the mean of the seven lineage effects and each interaction a lineage's departure from it. The lineage-specific genes outnumber the shared core about thirty to one: CXCL10, IFIT2 and CCL8 are induced everywhere, at different strengths, so the test calls them lineage-specific.

The decision

Quote each count with its F-statistic range, core 61 against 68 and lineage-specific 1,906 against 1,846, and read 1,906 as a floor: the joint model cannot see the genes its filter dropped, lineage-restricted ones among them, so many of the most extreme lineage-specific genes are never tested.

The 4,284 jointly testable genes, by class IFN-β PBMC tutorial, run 7a82f521, section 7
Values in the chart
RowGenes of 4,284
Core61
Lineage-specific1,906
Unresponsive2,317

Core: a significant averaged effect, no detectable interaction and an averaged absolute log2 fold change of at least 1. Lineage-specific: a significant omnibus interaction. An exact per-gene F moves 274 genes (6.40%) across the boundary.

03

The lineages differ most in what they give up to respond.

The interferon sets score alike in every lineage. The sets that tell lineages apart are metabolic, at 7.5 times the spread: the myeloid lineages suppress oxidative phosphorylation and MYC targets while they mount the response.

The decision

Report one shared program run at different gains, and read the glycolysis enrichment as a transcript-set observation only, since flux measurement in human macrophages shows IFN-β lowering glycolytic proton extrusion.

Hallmark sets by their spread across lineages IFN-β PBMC tutorial, run 7a82f521, hallmark_spread_vs_core.csv, section 9
Values in the chart
RowNES range across lineages
MYC targets V13.002
Oxidative phosphorylation2.967
Glycolysis2.851
Hypoxia2.647
Peroxisome2.540
Unfolded protein response2.293
Interferon gamma response0.434
Interferon alpha response0.400
Inflammatory response0.386

Each set's NES range across the seven lineages, as the run orders them. The three interferon and inflammatory sets, in gray, score alike everywhere: core NES +2.758 for interferon alpha and +2.711 for interferon gamma.

More from the runs

Four more results, three from this run and one from another run.

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

Each lineage's departures from the average, by direction IFN-β PBMC tutorial, run 7a82f521, driving_lineage_direction_tally.csv, section 7
Values in the chart
LineageStrongerWeakerOppositeResponds where the average is flatTotal
CD14+ monocytes85741463651,309
FCGR3A+ monocytes3475925114545
Dendritic cells194283165318
B cells98125108112443
CD4 T cells64359215110748
CD8 T cells1217512252361
NK cells2613610963334

Each lineage's contrasts against the seven-lineage average among the lineage-specific genes, as the run tallies them; a gene can count in more than one lineage. Weaker means below the average, and every lineage still induces the ISGs. All three myeloid lineages lean stronger and all four lymphoid lineages weaker, by a test that never sees the ISG panel.

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.

  • A small shared core of 61 genes

    no reference

    They respond to IFN-β with no lineage difference the interaction test can detect.

    High confidenceT2S1
  • 1,906 genes respond by lineage

    partially confirmed

    Of the 4,284 jointly testable genes, the interaction test assigns 1,906 to specific lineages, 1,846 under an exact F.

    High confidenceT2S1
  • CD14+ monocytes and dendritic cells respond hardest

    partially confirmed

    The ISG panel ranks them first and second and holds that order when every unit is cut to 15 cells; GSVA gives the same top two. Published pSTAT1 flow and microarray work already put monocytes at the top; dendritic cells second is this run's result.

    High confidenceT1S2
  • SSB splits by lineage, a hypothesis

    partially confirmed

    Induced in myeloid cells and flat in CD8 T and NK cells. The one precedent is about two-fold induction in salivary gland epithelium, so the run asks for protein before any claim.

    Low confidenceT2S1

Illustration

inflexa · prov

$ inflexa prov lineage output/lineage_ranking.csv

output/lineage_ranking.csv sha256:9c14…7e02

t1s2_paired_pseudobulk_de exit 0

output/singlets_batch2.h5ad sha256:41b8…d6a3

t1s1_singlet_object exit 0

GSE96583 source

model z-ai/glm-5.3 · step T1S2

signed ed25519:a07f…3c91

$ 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 asked what a compound is doing.

  • Pharmacologist

    See where a perturbation acts hardest and what it costs each cell type, on a scale you can defend when cell numbers differ.

  • MoA scientist

    Separate the response every lineage shares from the part one lineage carries, with the counts, their range and their floor.

  • Translational biologist

    Take a hypothesis to the bench with its limits attached: the precedent, the time point and what the data cannot test.

  • Academic researcher

    Build a mechanism narrative grounded in PubMed. Free to run, and traceable to the papers it rests on.

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.