Convert another AnnData object to an HDF5AnnData object
Arguments
- adata
 An
AnnDataobject to be converted toHDF5AnnData- file
 The file name (character) of the
.h5adfile- compression
 The compression algorithm to use when writing the HDF5 file. Can be one of
"none","gzip"or"lzf". Defaults to"none".- mode
 The mode to open the HDF5 file:
acreates a new file or opens an existing one for read/writeropens an existing file for readingr+opens an existing file for read/writewcreates a file, truncating any existing onesw-/xare synonyms, creating a file and failing if it already exists
Value
An HDF5AnnData object with the same data as the input AnnData
object.
See also
Other object converters:
as_AnnData(),
as_InMemoryAnnData(),
as_ReticulateAnnData(),
as_Seurat(),
as_SingleCellExperiment(),
reticulate-helpers