AnnData(Set) object manipulation#

Backed AnnData objects#

AnnData(*, filename[, X, obs, var, obsm, ...])

An annotated data matrix.

AnnDataSet(adatas, *, filename[, add_key, ...])

Similar to AnnData, AnnDataSet contains annotations of observations obs (obsm, obsp), variables var (varm, varp), and unstructured annotations uns.

AnnData IO#

read(filename[, backed, backend])

Read .h5ad-formatted hdf5 file.

read_mtx(mtx_file, *[, obs_names, ...])

Read Matrix Market file.

read_10x_mtx(path[, file, prefix])

Read 10x-Genomics-formatted mtx directory.

read_dataset(filename, *[, ...])

Read AnnDataSet object.

AnnData.write(filename, backend)

Write .h5ad-formatted hdf5 file.

AnnData.subset([obs_indices, var_indices, ...])

Subsetting the AnnData object.

AnnData.copy(filename, backend)

Copy the AnnData object.

AnnDataSet.subset([obs_indices, ...])

Subsetting the AnnDataSet object.