stlearn.ReadSlideSeq

stlearn.ReadSlideSeq(count_matrix_file: Union[str, pathlib.Path], spatial_file: Union[str, pathlib.Path], library_id: str = None, scale: float = 1.0, quality: str = 'hires') → anndata._core.anndata.AnnData[source]

Read Slide-seq data

Parameters
  • count_matrix_file – Path to count matrix file.

  • spatial_file – Path to spatial location file.

  • library_id – Identifier for the visium 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’]

Returns

Return type

AnnData