- dynamo.read_h5ad(filename, backed=None, *, as_sparse=(), as_sparse_fmt=<class 'scipy.sparse.csr.csr_matrix'>, chunk_size=6000)
Read .h5ad-formatted hdf5 file.
None]) – If ‘r’, load
AnnDatain backed mode instead of fully loading it into memory (memory mode). If you want to modify backed attributes of the AnnData object, you need to choose ‘r+’.
spmatrix]) – Sparse format class to read elements from as_sparse in as.
int) – Used only when loading sparse dataset that is stored as dense. Loading iterates through chunks of the dataset of this row size until it reads the whole dataset. Higher size means higher memory consumption and higher (to a point) loading speed.
- Return type