anndata0.11.1
Published
Annotated data.
pip install anndata
Package Downloads
Authors
Project URLs
Requires Python
>=3.10
Dependencies
- array-api-compat
!=1.5,>1.4
- exceptiongroup
; python_version < "3.11"
- h5py
>=3.6
- natsort
- numpy
>=1.23
- packaging
>=20.0
- pandas
!=2.1.0rc0,!=2.1.2,>=1.4
- scipy
>1.8
- cupy-cuda11x
; extra == "cu11"
- cupy-cuda12x
; extra == "cu12"
- dask
[array]!=2024.8.*,!=2024.9.*,>=2022.09.2; extra == "dask"
- pytest-xdist
; extra == "dev"
- setuptools-scm
; extra == "dev"
- towncrier
>=24.8.0; extra == "dev"
- towncrier
>=24.8.0; extra == "dev-doc"
- pytest-xdist
; extra == "dev-test"
- awkward
>=2.0.7; extra == "doc"
- ipython
; extra == "doc"
- myst-parser
; extra == "doc"
- nbsphinx
; extra == "doc"
- readthedocs-sphinx-search
; extra == "doc"
- scanpydoc
[theme,typehints]>=0.14.1; extra == "doc"
- sphinx-autodoc-typehints
>=2.2.0; extra == "doc"
- sphinx-book-theme
>=1.1.0; extra == "doc"
- sphinx-copybutton
; extra == "doc"
- sphinx-design
>=0.5.0; extra == "doc"
- sphinx-issues
; extra == "doc"
- sphinx-toolbox
>=3.8.0; extra == "doc"
- sphinx
>=7.4.6; extra == "doc"
- sphinxext-opengraph
; extra == "doc"
- towncrier
>=24.8.0; extra == "doc"
- zarr
; extra == "doc"
- cupy
; extra == "gpu"
- awkward
>=2.3; extra == "test"
- boltons
; extra == "test"
- dask
[array]!=2024.8.*,!=2024.9.*,>=2022.09.2; extra == "test"
- dask
[distributed]; extra == "test"
- httpx
; extra == "test"
- joblib
; extra == "test"
- loompy
>=3.0.5; extra == "test"
- matplotlib
; extra == "test"
- openpyxl
; extra == "test"
- pyarrow
; extra == "test"
- pytest-cov
>=2.10; extra == "test"
- pytest-memray
; extra == "test"
- pytest-mock
; extra == "test"
- pytest
>=8.2; extra == "test"
- scanpy
; extra == "test"
- scikit-learn
; extra == "test"
- zarr
<3.0.0a0; extra == "test"
anndata - Annotated data
anndata is a Python package for handling annotated data matrices in memory and on disk, positioned between pandas and xarray. anndata offers a broad range of computationally efficient features including, among others, sparse data support, lazy operations, and a PyTorch interface.
- Discuss development on GitHub.
- Read the documentation.
- Ask questions on the scverse Discourse.
- Install via
pip install anndata
orconda install anndata -c conda-forge
. - See Scanpy's documentation for usage related to single cell data. anndata was initially built for Scanpy.
anndata is part of the scverse project (website, governance) and is fiscally sponsored by NumFOCUS. Please consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.
Public API
Our public API is documented in the API section of these docs.
We cannot guarantee the stability of our internal APIs, whether it's the location of a function, its arguments, or something else.
In other words, we do not officially support (or encourage users to do) something like from anndata._core import AnnData
as _core
is both not documented and contains a leading underscore.
However, we are aware that many users do use these internal APIs and thus encourage them to open an issue or migrate to the public API.
That is, if something is missing from our public API as documented, for example a feature you wish to be exported publicly, please open an issue.
Citation
If you use anndata
in your work, please cite the anndata
publication as follows:
anndata: Annotated data
Isaac Virshup, Sergei Rybakov, Fabian J. Theis, Philipp Angerer, F. Alexander Wolf
JOSS 2024 Sep 16. doi: 10.21105/joss.04371.
You can cite the scverse publication as follows:
The scverse project provides a computational ecosystem for single-cell omics data analysis
Isaac Virshup, Danila Bredikhin, Lukas Heumos, Giovanni Palla, Gregor Sturm, Adam Gayoso, Ilia Kats, Mikaela Koutrouli, Scverse Community, Bonnie Berger, Dana Pe’er, Aviv Regev, Sarah A. Teichmann, Francesca Finotello, F. Alexander Wolf, Nir Yosef, Oliver Stegle & Fabian J. Theis
Nat Biotechnol. 2023 Apr 10. doi: 10.1038/s41587-023-01733-8.