ocelli.read.h5ad

Contents

ocelli.read.h5ad#

ocelli.read.h5ad(filename)#

Load an h5ad file

This function reads an AnnData object from the specified .h5ad file. The .h5ad format is widely used for storing single-cell data, enabling efficient handling of large datasets.

Parameters:

filename (str) – The path to the .h5ad file containing the AnnData object to be loaded.

Returns:

An AnnData object loaded from the specified file.

Return type:

anndata.AnnData

Example:
import ocelli as oci

# Load the AnnData object
adata = oci.h5ad("path/to/file.h5ad")