SOAPy_st.pp.read_csv2adata
- SOAPy_st.pp.read_csv2adata(express: PathLike | str | DataFrame, location: PathLike | str | DataFrame, express_kwargs: dict = {}, location_kwargs: dict = {}) AnnData
To read Barcode_based spatial omics data. Slide seqV2, Stereo seq and other table data
Parameters
- expressUnion[PathLike, str, pd.DataFrame]
Count matrix file or its path.
- locationUnion[PathLike, str, pd.DataFrame]
Coordinates matrix file or its path.
- scalefloat
The scale of the coordinates, usually for visual matching with different resolutions of HE or other images, is not scaled by default.
- express_kwargsdict
Other params of pd.read_csv(express)
- location_kwargsdict
Other params of pd.read_csv(location)
Returns
anndata.Anndata object