write_h5ad#

mudata.write_h5ad(filename: os.PathLike, mod: str, data: Union[mudata._core.mudata.MuData, anndata._core.anndata.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.