ST-Net
A DenseNet-121 that predicts the expression of 250 genes from a 224-pixel stained breast tumor pathology patch.
Medical imaging · 431 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Medical imaging
- Parameters
- 7.2M
- Operations
- 431
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2020, Nature Biomedical Engineering
- Cited by
- 507 (as of 28 October 2026)
- Authors
- Bryan He, Ludvig Bergenstråhle, Linnea Stenbeck and others
- Source
- GitHub: bryanhe/ST-Net
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20161
- Graph hash
- 5237418783e576137513eb89efe265b1c50c078ce942eb8dffafd331df5e9858
- Skeleton hash
- 3110968d00f3156908edbefd96861a2c6a23cf5975dfeba247a59f1aa622b518
- Architecture hash
- a39cb893a7c160b61c9651dc61e748190ec6d1138ee2be2478ddc28c13dc2640
- Diagram SHA-256
- b3c02e00f0e10861d6254e86b1771556caf73779388a5ad16c14db8a44535359
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
ST-Net is a machine learning model that predicts spatial transcriptomics measurements from hematoxylin-and-eosin-stained pathology slides. Spatial transcriptomics measures RNA abundance at high spatial resolution, which makes it possible to link the morphology of cellular neighborhoods to locally measured gene expression. The paper develops the algorithm on a new dataset of 30,612 spatially resolved gene expression measurements matched to histopathology images from 23 patients with breast cancer.
The authors report more than 100 genes whose expression can be predicted from the images at a resolution of 100 µm, including known breast cancer biomarkers. They also report that the algorithm generalizes to The Cancer Genome Atlas and to other breast cancer gene expression datasets without re-training.
The repository's training command for the main results sets the model to densenet121, the window to 224 and the number of genes to 250. The repository also includes a comparison against training each gene individually.
Key idea. The paper reports a deep learning algorithm that predicts local gene expression from hematoxylin-and-eosin-stained histopathology images of breast cancer tissue.
- ST-Net
- STNet
- spatial transcriptomics
- gene expression prediction
- histopathology
- H&E
- hematoxylin and eosin
- breast cancer
- computational pathology
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{He_2020, title={Integrating spatial gene expression and breast tumour morphology via deep learning}, volume={4}, ISSN={2157-846X}, url={http://dx.doi.org/10.1038/s41551-020-0578-x}, DOI={10.1038/s41551-020-0578-x}, number={8}, journal={Nature Biomedical Engineering}, publisher={Springer Science and Business Media LLC}, author={He, Bryan and Bergenstråhle, Ludvig and Stenbeck, Linnea and Abid, Abubakar and Andersson, Alma and Borg, Åke and Maaskola, Jonas and Lundeberg, Joakim and Zou, James}, year={2020}, month=June, pages={827–834} }