← HubLymphomaCNToolsMENDERSchürch CNBANKSYCellCharterUTAGHRCHY-CytoCommunityENVI / COVETNicheformerall tools

foundation modelNicheformer — Lymphoma

556,057 cells · 4 of 5 blocks (17_1574 has no counts matrix) · pretrained weights, zero-shot

What was run

The same frozen zero-shot pipeline as the CCA run — identical weights, token layout, technology mean and pooling — over 556,057 cells of four blocks. Block 17_1574 is excluded: no object with an expression matrix exists for it anywhere in the project, so it was left out rather than substituted. Detection is far deeper here than in CCA (88.5 mapped genes per cell vs 34.3).

This run produced no niches — cell-level embedding only, hence a report page rather than an explorer.

The EBV probes cannot enter the model

462 of 480 probes mapped. The 18 dropped include 13 Epstein-Barr virus transcripts (BALF2/3/4/5, BILF1, BNLF2b, BNRF1, EBER1, EBNA1, EBNA2, LMP-1, LMP-2A, LMP-2B): Nicheformer's vocabulary is human genes only. Those probes carry 3.9% of all transcripts in the cohort and are concentrated exactly in the classes defined by infection (30.3% of counts in EBV-infected fibroblasts, 22.6% in EBV-infected NK), so the model is structurally blind to the viral signal distinguishing six of the 20 annotated classes. Collapsing every EBV-infected X class into its host lineage does not improve agreement (ARI 0.134 vs 0.136), so the missing probes are a real labelling limitation but not the reason overall agreement is low.

Agreement with the existing annotation

embeddingreferencen_classesnARINMI
all462Clusters205560570.13560.2385
all462Compartment295560570.13120.2582
all462block45560570.11800.2203
all462diagnosis35560570.08240.1668

Cell-identity agreement is barely above block agreement (NMI 0.239 vs 0.220) — the opposite of CCA, where identity clearly dominated (0.527 vs 0.279). Each block is dominated by a different cluster, so the partition tracks specimen as much as biology. No batch integration was applied.

Per-class recovery

Clustersn_cellsbest_cluster_capturesbest_cluster
Macrophages1181000.2435
NK T1059370.4120
SMC623470.26710
CD8 T579430.1306
Plasmablast413980.3773
Plasma cells306530.2183
EBV-infected NK209950.2009
CD4 T203060.2454
Endothelial cells201420.83716
Epithelial cells174670.85815
Ambiguous_cells152270.2553
Dendritic cells141110.21316
B cells118760.5833
EBV-infected NKT91410.1206
EBV-infected Macrophages66690.31512
Follicular Dendritic Cell14840.45115
EBV-infected Fibroblasts8710.3509
pDCs8070.39917
Mast cells4050.52315
EBV-infected Mast cells1780.5459

Largest fraction of a class captured by any single cluster. Non-haematopoietic and structurally distinct identities are recovered; the fine immune states that make up most of this cohort are not.

Largest coarse clusters

leiden_all462_coarsen_cellsmajority_classmajority_frac
069630NK T0.727
1128072SMC0.186
266902Macrophages0.293
311773EBV-infected NK0.274
442659Macrophages0.658
563785SMC0.279
628279Endothelial cells0.607
7108813Macrophages0.326
812760NK T0.359
923364Epithelial cells0.638
1013EBV-infected NK0.769
117EBV-infected NK0.429

Figures

UMAP of the embedding and cluster composition
UMAP of the embedding and cluster composition · nf_lym_fig1_umap.png
Clusters in tissue space, per block
Clusters in tissue space, per block · nf_lym_fig2_spatial.png

Caveats, as recorded in the run's own report

  • Technology mean defined for only 226 of the 462 mapped probes (49%); the same ranking distortion as in CCA applies.
  • The published all-position pooling was not computed.
  • 8 cells (all in 16_1629, essentially empty) have an all-padding sequence and a zero embedding vector; they are flagged obs['nf_zero_token_cell'].
  • Block confounding was not corrected.
  • Not assessed: cluster stability across seeds or resolutions; any niche-level product.

Bottom line from the run's report: as a zero-shot cell-level feature extractor Nicheformer is not competitive with the existing annotation on this cohort; the informative next step would be fine-tuning or linear probing on the project's labels.

Built from REPORT_Nicheformer_Lymphoma.md and the tables under Lymphoma/results/Foundation_models/Nicheformer/ on 11 Sep 2026. Numbers are quoted from that run, not recomputed.