SpatialData Integration#
InSituPy provides bidirectional conversion between its native data formats (InSituData and InSituExperiment) and the SpatialData framework.

Tutorials#
Convert InSituPy data to SpatialData
Learn how to convert InSituData and InSituExperiment objects to the SpatialData format for use with the scverse ecosystem.
Convert SpatialData to InSituPy
Learn how to import data from SpatialData format into InSituPy’s InSituData format for analysis with InSituPy’s tools.
Installation#
To use the SpatialData integration, you need to install the spatialdata package:
pip install spatialdata
For reading data from specific platforms (Xenium, MERSCOPE, etc.), also install:
pip install spatialdata-io