stlearn.read_slide_seq¶
- stlearn.read_slide_seq(count_matrix_file: str | Path, spatial_file: str | Path, library_id: str | None = None, scale: float | None = None, quality: str = 'hires', spot_diameter_fullres: float = 50, background_color: Literal['black', 'white'] = 'white') AnnData[source]¶
Read Slide-seq data
- Parameters:
count_matrix_file – Path to count matrix file.
spatial_file – Path to the spatial location file.
library_id – Identifier for the library. Can be modified when concatenating multiple adata objects.
scale – Set scale factor.
quality – Set quality that convert to stlearn to use. Store in anndata.obs[‘imagecol’ & ‘imagerow’]
spot_diameter_fullres – Diameter of spot in full resolution
background_color – Color of the background. Only black or white is allowed.
- Return type:
AnnData