Skip to contents

Package documentation

anndata-package anndata
anndata - Annotated Data

Creating an AnnData object

AnnData()
Create an Annotated Data Matrix

Concatenating two or more AnnData objects

concat()
concat

Reading an AnnData object from a file

read_csv()
read_csv
read_excel()
read_excel
read_h5ad()
read_h5ad
read_hdf()
read_hdf
read_loom()
read_loom
read_mtx()
read_mtx
read_text()
read_text
read_umi_tools()
read_umi_tools
read_zarr()
Read from a hierarchical Zarr array store.

Writing an AnnData object to a file

write_csvs()
Write annotation to .csv files.
write_h5ad()
Write .h5ad-formatted hdf5 file.
write_loom()
Write .loom-formatted hdf5 file.
write_zarr()
Write a hierarchical Zarr array store.

Installer

Helper function for installing the anndata Python package

install_anndata()
Install anndata

Helper functions / sugar syntax