Skip to main content

SpatialZoomer: multi-scale feature analysis of spatial transcriptomics

The Python implementation of SpatialZoomer, a toolkit for multi-scale spatial feature analysis of single-cell resolved spatial transcriptomics via spectral graph signal processing. It scales to millions of cells with high computational efficiency and low hardware requirements.

Explore SpatialZoomer's multi-scale results by sliding the scale axis across four datasets on our interactive demo site:

👉 Demo Website

👉 Github Website

Introduction

SpatialZoomer is a novel computational method that enables the multi-scale feature analysis of single-cell resolved spatial transcriptomics like a zoom-capable microscope. By modeling gene expression as signals on spatial neighbor graph and applying spectral graph signal processing, the method efficiently extracts spatial features across multiple scales and reveals biologically meaningful structures. It can automatically identify “critical” scales by partitioning the cross-scale similarity map via dynamic programming.

Functions

  • Zoom-capable analysis across spatial scales
    SpatialZoomer enables the detection of spatial structures from cells, niches, to domains across multiple scales. It can cpature biologically meaningful signals at specific scales, such as those related to disease progression in perturbation or longitudinal scenarios.

  • Identification of spatially dependent subtypes
    As the spatial scale increases, SpatialZoomer progressively integrates spatial context from larger neighborhoods into each cell’s transcriptomic profile, potentially enabling cells from a single cluster at scale 0 to separate into spatially dependent subclusters at larger scales. These spatial contexts can amplify transcriptomic heterogeneity between biologically distinct subtypes.

  • Uncovering complex tissue architecture
    The extracted multi-scale features can be used to dissect the complex spatial organization.

Advantages

  • High computational efficiency with relatively low memory requirements (No GPU required).
  • Fast runtime, even for large-scale datasets.
  • Scalable to >1 million cells on desktops.

System Requirements

SpatialZoomer requires only a standard computer with sufficient RAM for in-memory operations and runs without the need for a GPU. It is lightweight and can be executed on laptops, desktops, or servers.

Cite

Xinqi Li#, Yuhan Fan#, Yue Han, Wenbo Guo, Jingmin Huang, Nan Yan, Zeyu Chen, Yanhong Wu, Yuxin Miao, Lin Hou, Xuegong Zhang, Zeyu Chen, Jin Gu*. SpatialZoomer: multi-scale feature analysis of spatial transcriptomics. bioRxiv (2025).

Metadata

Release files for SpatialZoomer 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SpatialZoomer 1.2.0
File Size Uploaded
spatialzoomer-1.2.0.tar.gz 43.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SpatialZoomer 1.2.0
File Interpreter ABI Platform
spatialzoomer-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 93.8 kB

Release files / spatialzoomer-1.2.0.tar.gz

Download URL spatialzoomer-1.2.0.tar.gz
Size 43.3 kB
Tags Source
SHA-256 checksum
How to use checksums
36480066e756ce1b42d84e4178ed81ec83ca7920ae6ff021b6f884eda1232eac
BLAKE2b-256 checksum
How to use checksums
329ad130eb1e23b874b631a5b4a751f82f0d0399739a8eee2a71c7e004bff8d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / spatialzoomer-1.2.0-py3-none-any.whl

Download URL spatialzoomer-1.2.0-py3-none-any.whl
Size 50.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bae449fa6669a50eae31c9e291d3af6c3b8f6b7ca13dd0658c569a285773ff3a
BLAKE2b-256 checksum
How to use checksums
bb0f05cc784e8d1024664ac9baa7b544ddb43b98ae6fd321b67556a1f1982b49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page