Related Experiment Video
Updated: Jul 16, 2026

Spatial Profiling of Protein and RNA Expression in Tissue: An Approach to Fine-Tune Virtual Microdissection
Published on: July 6, 2022
Spatial Transcriptomics As Rasterized Image Tensors (STARIT) characterizes cell states with subcellular molecular
Dee Velazquez1,2, Caleb Hallinan1,2, Roujin An1,2
1Center for Computational Biology, Whiting School of Engineering, Johns Hopkins University, Baltimore, Maryland, USA.
Motivation:
Imaging-based spatially resolved transcriptomics (imSRT) technologies provide high-throughput molecular-resolution spatial characterization of genes within cells. Conventional analysis methods to identify cell-types and states in imSRT data rely on gene count matrices derived from tallying the number of mRNA molecules detected for each gene per segmented cell, thereby overlooking subcellular heterogeneity that can be useful in defining cell states.
Results:
To take advantage of the molecular-resolution information in imSRT data and potentially identify cell-states based on subcellular heterogeneity, we developed STARIT (Spatial Transcriptomics As Rasterized Image Tensors). STARIT converts transcripts within segmented cells in imSRT data into an image-based tensor representation that can be combined with deep learning computer vision models for downstream analysis. Using simulated data, we demonstrate that STARIT distinguishes transcriptionally distinct cell-types and further separates cell states based on subcellular transcript localization, which conventional gene count analysis fails to capture. Likewise, using real imSRT data, we demonstrate how STARIT identifies comparable cell-types to conventional gene count analysis as well as delineate rotational variation. By providing a standardized framework to encode subcellular molecular information in imSRT data, STARIT will enable deeper insights into subcellular heterogeneity and enhance the identification and characterization of cell-types and states that are overlooked by gene count representations.
Availability And Implementation:
STARIT is available as a Python package on GitHub at https://github.com/JEFworks-Lab/STARIT.
Related Concept Videos
Cell Specific Gene Expression
Cell Specific Gene Expression

