stlearn.datasets.visium_sge

stlearn.datasets.visium_sge(sample_id='V1_Breast_Cancer_Block_A_Section_1', *, include_hires_tiff: bool = False) AnnData[source]

Processed Visium Spatial Gene Expression data from 10x Genomics’ database.

The database can be browsed online to find the sample_id you want.

Parameters:
  • sample_id – The ID of the data sample in 10x’s spatial database.

  • include_hires_tiff – Download and include the high-resolution tissue image (tiff) in adata.uns[“spatial”][sample_id][“metadata”][“source_image_path”].

Return type:

Annotated data matrix.