mudata.write#
- mudata.write(filename, data)#
Write a
MuDataorAnnDataobject to an HDF5 file.This function is designed to enhance I/O ease of use. It recognises the following formats of
filename:for MuData
FILE.h5mu
for AnnData
FILE.h5mu/MODALITYFILE.h5mu/mod/MODALITYFILE.h5ad
The first two variants will write the
AnnDataobject to the modalityMODALITYof the existingFILE.h5mufile, same aswrite_h5ad().