stlearn.ReadOldST¶
- stlearn.ReadOldST(count_matrix_file: Optional[Union[str, Path]] = None, spatial_file: Optional[Union[str, Path]] = None, image_file: Optional[Union[str, Path]] = None, library_id: str = 'OldST', scale: float = 1.0, quality: str = 'hires', spot_diameter_fullres: float = 50) 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’]
spot_diameter_fullres – Diameter of spot in full resolution
- Return type:
AnnData