bioRxivBioinformaticsPreprint
platpy: A spatial-first framework for multi-layer spatial transcriptomic analysis
Abstract
Background The emergence of accessible spatial transcriptomic platforms such as 10x Genomics Visium HD and Xenium has created demand for analysis tools that can handle the complexity and scale of spatial datasets. Current frameworks approach spatial data primarily as an extension of single-cell RNA-seq pipelines, where spatial coordinates are retained as metadata rather than treated as a first-class organizing principle. As a result, common tasks such as multi-modal data alignment, region-of-interest selection, and cross-resolution visualization require manually managing disparate data types, coordinates, and scales, making spatial analysis unnecessarily time-consuming and error-prone. Results We present platpy (pipeline for layered analysis of transcriptomics), a Python-based "spatial-first" framework that treats absolute physical micron coordinates as the organizing principle for all data types. All data -- morphology images, transcript point clouds, expression matrices, segmented cells, and user-defined regions -- are stored as typed objects ("Channels") that carry their own spatial metadata, keeping all layers in automatic registration regardless of platform, resolution, or analysis operation. Two complementary interfaces simplify access to underlying data: the ViewPort, a compositing engine for efficient multi-channel visualization, and the DataPort, which extracts raw data in its native format for downstream analysis. A set of spatial analysis tools demonstrates the practical benefits of the framework, including ROI-based expression binning, cortical unfolding, and sub-micron fine alignment of transcript and image data. The use of modern Python data management methods helps maintain the efficiency of the framework, allowing for quick visualizations and analysis with a low memory footprint. Conclusions Platpy is designed to complement rather than replace widely used tools in the spatial analysis ecosystem (scanpy, squidpy, CellPose, StarDist), by handling the spatial mechanics of large datasets so that the analyst can focus on the biology. Platpy is freely available under the MIT license at https://github.com/maynardt/platpy.
- assay: spatial transcriptomics
- research focus: software / tool
- research focus: benchmarking
- research focus: dimensionality reduction
- approach: experimental assay
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- SpaceSequest: A unified pipeline for spatial transcriptomics data analysis
Yu Henry Sun, Sarbottam Piya, … Baohong Zhang·Journal of Advance Research in Pharmacy & Biological SciencePeer-reviewed·Jan 19, 2026
- Rapid and memory-efficient analysis and quality control of large spatial transcriptomics datasets
Bence Kövér, Alessandra Vigilante·bioRxiv·Jul 23, 2024
- Spatialsnake: a flexible workflow for spatial transcriptomics analysis across platforms
Zhenghao Lin, Zhihao Zhang, … Siwen Xu·bioRxiv·Oct 29, 2026
- SpatialExperiment: infrastructure for spatially resolved transcriptomics data in R using Bioconductor
Dario Righelli, Lukas M. Weber, … Davide Risso·BioinformaticsPeer-reviewed·Apr 25, 2022
- SPArrOW: a flexible, interactive and scalable pipeline for spatial transcriptomics analysis
Lotte Pollaris, Bavo Vanneste, … Yvan Saeys·bioRxiv·Jul 4, 2024
- A Gentle Introduction to Spatial Transcriptomic Analysis with 10X Visium Data
Jessica L. Gillespie, Juan Xie, … Dongjun Chung·bioRxiv·May 1, 2025