Skip to contents

[Superseded] Read .h5ad-formatted hdf5 file.

Usage

read_h5ad(filename, backed = NULL)

Arguments

filename

File name of data file.

backed

If 'r', load ~anndata.AnnData in backed mode instead of fully loading it into memory (memory mode). If you want to modify backed attributes of the AnnData object, you need to choose 'r+'.

Superseded

This function is superseded by anndataR::read_h5ad() in the anndataR package, which reads .h5ad files natively without requiring Python. See vignette("migration_to_anndataR", package = "anndata") for migration guidance.

Examples

if (FALSE) { # \dontrun{
ad <- read_h5ad("example_formats/pbmc_1k_protein_v3_processed.h5ad")
} # }