spateo.io.starmap¶
IO functions for STARmap technology.
Functions¶
|
Read STARmap data directory as AnnData. |
|
Read STARmap cell positions npz as dataframe. |
|
Read STARmap data as AnnData. |
Module Contents¶
- spateo.io.starmap.read_starmap_as_anndata(data_dir: str) anndata.AnnData [source]¶
Read STARmap data directory as AnnData.
- Parameters:
- data_dir
Path to directory containing STARmap files.
- Returns:
AnnData of cell x genes.
- spateo.io.starmap.read_starmap_positions_as_dataframe(path: str) pandas.DataFrame [source]¶
Read STARmap cell positions npz as dataframe.
- Parameters:
- path
Path to file
- Returns:
DataFrame containing cell positions.
- spateo.io.starmap.read_starmap(data_dir: str) anndata.AnnData [source]¶
Read STARmap data as AnnData.
- Parameters:
- data_dir
Path to directory containing STARmap files.