write_anndata

Contents

write_anndata#

mudata.write_anndata(filename: PathLike, mod: str, data: MuData | AnnData)#

Write AnnData object to the HDF5 file with a MuData container

Currently is based on anndata._io.h5ad.write_h5ad internally. Matrices - sparse or dense - are currently stored as they are.

Ideally this is merged later to anndata._io.h5ad.write_h5ad.