You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Does .view$as_HDF5AnnData(file = subset_file_path) copy all data to the memory before writing to the disk? #433
I subset and reordered it and now I have a AnnDataView.
I want to write to a new file.
Pseudocode:
# access h5ad keeping data on diskh5ad<-anndataR::read_h5ad(
path=file_path,
as="HDF5AnnData")
# some subetting and reordering creating AnnDataViewh5ad<-h5ad[reord_subsetting_cells_vec,reord_subsetting_genes_vec]
h5ad<-h5ad$as_HDF5AnnData(file=subset_file_path)
My question is, how memory efficient is the h5ad$as_HDF5AnnData(file = subset_file_path) operation? Does it happen in chunks? Do all data get copied to memory first and then get written to the disk?
Activity