dotools_py.io.read_h5ad

Contents

dotools_py.io.read_h5ad#

dotools_py.io.read_h5ad(path, filename=None, **kwargs)[source]#

Read .h5ad-formatted hdf5 file.

Parameters:
path str | PathLike[str] | Path

Directory with the H5AD file.

filename str (default: None)

Name of the H5AD file. If not specified, assume that path contains the full path to the H5AD file.

kwargs

Additional arguments pass to ad.read_h5ad.

Return type:

AnnData

Returns:

ad.AnnData Returns an AnnData Object.