Direct Seurat-to-h5ad write (single-pass, no intermediate h5Seurat)
Source:R/Convert.R
DirectSeuratToH5AD.RdWrites a Seurat object directly to an h5ad file, bypassing the two-pass Seurat -> h5Seurat -> h5ad pipeline. This avoids 3x I/O overhead and provides significant speedup for in-memory Seurat objects.
Usage
DirectSeuratToH5AD(
object,
filename,
assay = DefaultAssay(object = object),
overwrite = FALSE,
verbose = TRUE,
standardize = FALSE
)