Learn R Programming

anndata (version 0.7.5.6)

read_h5ad: read_h5ad

Description

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+'.

Examples

Run this code
if (FALSE) {
ad <- read_h5ad("example_formats/pbmc_1k_protein_v3_processed.h5ad")
}

Run the code above in your browser using DataLab