Skip to main content

Smoothie

PyPI version Documentation Python License

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 Overview

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/.

E16.5 Mouse Embryo Gene Module Atlas

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.

  1. Convert to AnnData: A guide to construct the AnnData structure for input to Smoothie
  2. 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.)
  3. 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. Smoothie: efficient inference and integration of spatial co-expression networks from denoised spatial transcriptomics data. Commun Biol 9, 459 (2026). https://doi.org/10.1038/s42003-026-09898-z

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.

Metadata

Release files for smoothie-st 1.0.2

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

Source distribution (sdist)

Source distribution for smoothie-st 1.0.2
File Size Uploaded
smoothie_st-1.0.2.tar.gz 48.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smoothie-st 1.0.2
File Interpreter ABI Platform
smoothie_st-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 100.8 kB

Release files / smoothie_st-1.0.2.tar.gz

Download URL smoothie_st-1.0.2.tar.gz
Size 48.7 kB
Tags Source
SHA-256 checksum
How to use checksums
af3b95d917f4452f18f007aeeb5ccd4f5eec6663f7adbc2ec0ac2e5a9c28a356
BLAKE2b-256 checksum
How to use checksums
e8e8f7184d4e376fc042177c3c6656ccc8dbf6ae29d8a05ffc95b80a2165a319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / smoothie_st-1.0.2-py3-none-any.whl

Download URL smoothie_st-1.0.2-py3-none-any.whl
Size 52.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78763298790deab21f45f4692b6aebce20a48e99ea8589f0326c3d3e8f53b2ce
BLAKE2b-256 checksum
How to use checksums
ea8e1026ecdf57f32dcb4a8bf6b211e1c01b20822e88bf8afe8c9d1951e3b3f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.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