Product
-
December 2, 2026

Introducing the Gene Toolkit: gene signatures on every tile of your H&E slides

In our ovarian cancer study (From Model to Patient), M-Optimus-1 inferred spatial gene expression from H&E across a public cohort of 288 slides. Comparing signatures for cancer-associated fibroblasts (CAFs) and VEGFA+ tumor cells in this exploratory, retrospective analysis, we found:

  • VEGFA+ tumor cells co-localized with CAFs more strongly in slides labeled as bevacizumab-resistant (p = 0.003).
  • Non-responders were not one group: their signature patterns split into distinct tumor microenvironment (TME) subtypes, each pointing to a different combination strategy.
Predicted VEGFA+ tumor cell and CAF signatures for a bevacizumab non-responder (top) and responder (bottom). Source: From Model to Patient

The Gene Toolkit brings this kind of signature scoring into the Bioptimus SDK, so your team can ask similar questions of your own cohorts: where is this pathway active? Which regions look immune-rich? How does a signature vary across my cohort?

From 6,002 genes to one score

M-Optimus predicts expression for about 6,002 genes on every tile. Gene signatures reduce that to one interpretable value per biological question, per tile. On an ovarian cancer slide the model never saw during training, we ran M-Optimus on the H&E slide plus bulk RNA pooled from the same tissue. Its predictions for the marker genes of four molecular subtypes matched 10x Genomics Xenium Prime measurements (mean r = 0.81).

What you can do with it
  • Score cell-type signatures on every tile, such as cancer-associated fibroblasts or VEGFA+ tumor cells, from H&E alone or with bulk RNA.
  • See where they sit with spatial maps of each signature over the slide.
  • Apply the same signatures across a whole cohort, with scores saved beside each slide's predictions and the signature definitions saved for reproducible reruns.
  • Build your own analyses on the scores. They come as a standard table (one row per tile, one column per signature), ready for the co-localization and clustering analyses we ran in the study.
How it works

Gene sets define the biology you care about; gene signatures score it on each tile:‍

sets = GeneSetCollection.from_gmt("hallmarks.gmt")
signatures = GeneSignatureCollection.from_collection(sets)
scores = signatures.score(predictions, panel_genes, mapping=symbol_to_ensembl)


Gene symbols are matched to the model's gene IDs with a mapping table, for example from your bulk RNA file. The gene signatures guide walks through loading gene sets, matching gene names and scoring a whole cohort.

Get started

The Gene Toolkit is available from Bioptimus SDK 1.4 and runs on M-Optimus, through AWS Marketplace or on-premise. To discuss your use case, get in contact.

All expression values and signature scores are model predictions (from H&E, optionally with bulk RNA), not measured expression. They are for research use only, not for diagnostic or clinical decisions.

‍