gedi2py.io.read_h5ad

gedi2py.io.read_h5ad(filename, *, backed=None)[source]

Read H5AD file.

Wrapper around anndata.read_h5ad() with consistent interface.

Parameters:
  • filename (str | Path) – Path to the H5AD file.

  • backed (str | None, default: None) – If 'r', open in read-only backed mode. If 'r+', open in read-write backed mode. If None, load into memory.

Return type:

Annotated data matrix.

Examples

>>> import gedi2py as gd
>>> adata = gd.read_h5ad("data.h5ad")