Skip to contents

Direct conversion from H5AD format to Seurat object without intermediate h5Seurat. Supports optional BPCells on-disk matrix loading for large datasets that exceed available memory.

Usage

readH5AD(file, assay.name = "RNA", use.bpcells = NULL, verbose = TRUE)

Arguments

file

Path to H5AD file

assay.name

Name for the primary assay (default: "RNA")

use.bpcells

If not NULL, a directory path where BPCells will store the expression matrix on disk. Requires the BPCells package. The resulting Seurat object will reference the on-disk matrix instead of loading it into memory, enabling analysis of datasets larger than available RAM.

verbose

Show progress messages

Value

A Seurat object. If use.bpcells is set, the count matrix is stored on disk in BPCells format and the object uses minimal memory.