stlearn.ReadOldST

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

Read Old Spatial Transcriptomics data

Parameters
  • count_matrix_file – Path to count matrix file.

  • spatial_file – Path to spatial location file.

  • image_file – Path to the tissue image 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