Tutorials#

The tutorials show how to work with InSituPy’s two core classes: InSituData for a single tissue section and InSituExperiment for a study with many samples. New to InSituPy? Read InSituPy at a glance first for how the data is organised.

Learn the basics#

Start here. Download the demo data and work through the single-sample tutorials in order, then learn how to bring in your own data and how to look at it.

Single-sample analysis

Step-by-step demonstration on how to perform data analysis using InSituPy and the InSituData class.

Analysis demo
Data import

Tutorials explaining how to import data from different technologies or tools.

Data import tutorials
Plotting functionalities

Tutorials introducing different plotting functionalities.

Plotting tutorials

Go further#

Work with many samples, save and reload your data, and exchange data with other tools.

Multi-sample analysis

This set of tutorials focuses on the analysis of multiple samples using the InSituExperiment class.

Multi-sample analysis tutorials
Data I/O - Saving and Loading

How to save and reload InSituData and InSituExperiment objects - full saves, modality-specific partial saves, and reloading individual components.

Data I/O tutorials
SpatialData Integration

Tutorials for converting between InSituPy and SpatialData formats for integration with the scverse ecosystem.

SpatialData conversion tutorials

Reference and manuscript#

Manuscript-related analyses

Notebooks including analyses shown in the manuscript.

Publication-related analyses
Benchmarkings

Performance measurements and comparisons against alternative readers - useful when deciding how to read large datasets or quantify signal on very large images.

Benchmarking notebooks