Examples

Examples#

Examples from real datasets you’d actually analyse.

Visium mouse brain

Render H&E tissue, overlay spots, color by gene expression and by cluster, and finish with a publication-style figure.

Plotting a Visium dataset
Interactive region annotation

Draw regions of interest directly on a spatialdata-plot canvas with sdata.pl.annotate(...) and persist them as a ShapesModel element.

Interactive region annotation
Point density maps

Turn tens of millions of Xenium transcripts into a readable density heatmap with render_points(density=True), reshape it with density_how, and draw a separate density per gene.

Point density maps in spatialdata-plot