stereo.io.read_stereo_h5ad¶
- stereo.io.read_stereo_h5ad(file_path, use_raw=True, use_result=True, bin_type=None, bin_size=None)[source]¶
Read the H5ad file, and generate the StereoExpData object.
- Parameters:
file_path (
str) – the path to input H5ad file.use_raw (
bool) – whether to read data ofself.raw.use_result (
bool) – whether to readresultandres_key.bin_type (
Optional[str]) – the bin type includes'bins'or'cell_bins'.bin_size (
Optional[int]) – the size of bin to merge, whenbin_typeis set to'bins'.
- Return type:
An object of StereoExpData.