anndata.read_loom

anndata.read_loom(filename, sparse=False)

Read .loom-formatted hdf5 file.

This reads the whole file into memory.

Beware that you have to explicitly state when you want to read the file as sparse data.

Parameters:
filename : PathLike

The filename.

sparse : bool

Whether to read the data matrix as sparse.

Return type:

AnnData