A package for analyzing spatial transcriptomics data with Gaussian smoothing, spatial gene correlation network clustering, gene module visualization, and multi-sample integration.
Project description
Smoothie
Documentation: https://caholdener01.github.io/Smoothie/
Overview
Smoothie is a method that denoises spatial transcriptomics data with Gaussian smoothing and constructs and integrates genome-wide co-expression networks. Designed as a tool for biological discovery, Smoothie's output gene network allows for precise gene module detection, spatial annotation of uncharacterized genes, linkage of gene expression to genome architecture, and more. Further, using second-order correlation analysis, Smoothie supports multi-sample comparisons to assess stable or dynamic gene expression patterns across tissues, conditions, and time points.
Smoothie can generate a gene pattern atlas for your provided spatial dataset. We show the gene pattern atlas for the embryonic day 16.5 mouse embryo (Stereo-seq) below. Data retrieved from: https://db.cngb.org/stomics/mosta/.
Features
- Gaussian Smoothing: In-place and grid-based smoothing options for flexibility and scalability across spatial omics platforms
- Network Analysis: Pairwise gene correlation measurement, hybrid hard-soft gene network thresholding, and Infomap network clustering for spatial gene module identification
- Multi-Sample Integration: Second-order correlation analysis for comparing gene patterns across datasets of mismatched (x,y) spatial coordinates
- Visualization: Comprehensive plotting functions for spatial modules and spatial gene expression patterns
- Hyperparameter Selection: Instructions and functions for selecting optimal smoothing and clustering parameters across different spatial technologies
Installation
See Installation.
Usage
To use Smoothie, make a clean copy of either the single-dataset or multi-dataset pipeline within Examples, and then follow the pipeline instructions. Refer to Graphical Overview for guidance too.
Example Notebooks
Examples contains two template Jupyter notebooks:
- Single Dataset Pipeline: for analyzing a single spatial transcriptomics dataset
- Multi Dataset Pipeline: for analyzing 2 or more comparable spatial transcriptomics datasets
Completed Tutorials
Tutorials contains completed notebooks for the following datasets:
- Single Dataset Pipelines:
- Slide-seq Adult Mouse Cerebellum
- Stereo-seq Mouse E16.5 Embryo
- Visium-HD Human Ovarian Cancer
- Xenium Human Renal Cell Carcinoma
- Multi-dataset Pipelines:
- Slide-seq Mouse Ovulating Ovaries Timecourse
- Stereo-seq Mouse Embryonic Development Timecourse
Additional Guides
Guides provides helpful extra information and resources to use Smoothie effectively.
- Convert to AnnData: A guide to construct the AnnData structure for input to Smoothie
- Micron to Units Conversion Table: A table of micron-to-units conversion factors for popular S.T. platforms (This info is required during the Gaussian smoothing step.)
- Cytoscape Instructions: A guide to use Cytoscape to visualize Smoothie's output gene network with module labels
Citation
If you use Smoothie, please cite:
Holdener, C. & De Vlaminck, I. (2025). Smoothie: Efficient Inference of Spatial Co-expression Networks from Denoised Spatial Transcriptomics Data. bioRxiv. https://doi.org/10.1101/2025.02.26.640406
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For questions, issues, or feature requests, please open an issue on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smoothie_st-1.0.1.tar.gz.
File metadata
- Download URL: smoothie_st-1.0.1.tar.gz
- Upload date:
- Size: 48.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5a48562f6e331711a167903fdcb0d309c31d51c3af99c0c05aae036a72a7b46
|
|
| MD5 |
dfa5148e537dfa1adcd3095f7797c6a8
|
|
| BLAKE2b-256 |
cc49ab5618c545162d1303d65857473f023ace53ab7ca928a986c81bdcea5557
|
File details
Details for the file smoothie_st-1.0.1-py3-none-any.whl.
File metadata
- Download URL: smoothie_st-1.0.1-py3-none-any.whl
- Upload date:
- Size: 52.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
958b7085280146345563ef112ab14ada943a6583a692faa8054287ce1c32b2b6
|
|
| MD5 |
1d4c14cacf60799dc8308bd3f0bdaa9d
|
|
| BLAKE2b-256 |
4783c37939ab2994aef00b250dd7593466ec53a3783e500e8384ed33d9e3c031
|