API reference#

Multimodal omics#

mudata.MuData([data, feature_types_names, ...])

Multimodal data object

mudata.utils

Input/Output#

read(filename, **kwargs)

Read MuData object from HDF5 file or AnnData object (a single modality) inside it

read_anndata(filename, mod[, backed])

Read AnnData object from inside a .h5mu file or from a standalone .h5ad file

read_h5ad(filename, mod[, backed])

Read AnnData object from inside a .h5mu file or from a standalone .h5ad file

read_h5mu(filename[, backed])

Read MuData object from HDF5 file

read_zarr(store)

Read from a hierarchical Zarr array store.

warn(message[, category, stacklevel, source])

Issue a warning, or maybe ignore it or raise an exception.

write(filename, data)

Write MuData or AnnData to an HDF5 file

write_anndata(filename, mod, data)

Write AnnData object to the HDF5 file with a MuData container

write_h5ad(filename, mod, data)

Write AnnData object to the HDF5 file with a MuData container

write_h5mu(filename, mdata, **kwargs)

Write MuData object to the HDF5 file

write_zarr(store, data[, chunks, write_data])

Write MuData or AnnData object to the Zarr store