Skip to content

🚧 Work in Progress

SpatialHub is currently in pre-release and under active development. Although we have taken great care to ensure its quality and reliability, bugs and breaking changes may still occur. Please use it with caution and report any issues by opening a GitHub issue.

SpatialHub

spatialhub is a collection of modular pipelines for the processing of spatial transcriptomics data, compatible with the scverse ecosystem.

Currently supports analysis of CosMx and VisiumHD data. Support for Xenium coming soon.

Overview

The supported platforms, the data formats used throughout, and how the pipelines connect from raw output to analysis.

Read the overview

Installation

Installing SpatialHub on the BMRC cluster, configuring the environment and verifying the installation.

Install SpatialHub

PipelinesSeven pipelines covering data preparation, conversion and cell-type deconvolution

Build SpatialData objects

Create AnnData objects

  • extractH5AD Extract an existing table to H5AD, typically for Visium HD
  • aggregateH5AD Aggregate points and shapes into H5AD, typically for CosMx

Cell-type deconvolution

  • runRCTD Deconvolution with RCTD against a single-cell reference
  • runCell2Location Deconvolution with Cell2Location against a single-cell reference