Convert another AnnData object to an ZarrAnnData object
Arguments
- adata
An
AnnDataobject to be converted toZarrAnnData- file
The file name (character) of the
.zarrfile- compression
The compression algorithm to use when writing the Zarr file. Can be one of
"none","gzip","blosc","zstd","lzma","bz2","zlib"or"lz4". Defaults to"none".- mode
The mode to open the Zarr 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
A ZarrAnnData object with the same data as the input AnnData
object.
See also
Other object converters:
as_AnnData(),
as_HDF5AnnData(),
as_InMemoryAnnData(),
as_ReticulateAnnData(),
as_Seurat(),
as_SingleCellExperiment(),
reticulate-helpers