Skip to main content

python black Documentation PyPI DOI

NetworkVI: Biologically Guided Variational Inference for Interpretable Multimodal Single-Cell Integration and Discovery

Getting started

NetworkVI is a sparse deep generative model designed for the paired, vertical (shared cells across measurements), horizontal (shared features across datasets) or mosaic integration and interpretation of multimodal single-cell data. The model learns a rich, batch-corrected low-dimensional representation of bi- and trimodal single-cell count datasets, estimating the representation using normalized input data. Please refer to the documentation. We also provide tutorials:

Installation

NetworkVI supports both standard pip installation and Pixi-based reproducible environments. We recommend Pixi for most users, as it automatically manages Python, CUDA, and PyTorch versions.

Pixi is a modern environment manager that combines Conda and pip, making it easy to install GPU-enabled scientific software reproducibly.

  1. Install Pixi

Follow the instructions at: https://pixi.sh

  1. Clone the repository
git clone https://github.com/LArnoldt/networkvi.git
cd networkvi
  1. Create and activate the environment
pixi install
pixi shell

Alternative: Installation using pip

If you prefer a standard pip-based installation (CPU or manually managed GPU):

  1. Install the latest release of NetworkVI from PyPi:
pip install networkvi
  1. (Optional, GPU) Install PyTorch and PyG dependencies manually

For CUDA 12.1:

pip install -U torch==2.2.0 --index-url https://download.pytorch.org/whl/cu121
pip install -U torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.2.0+cu121.html

Other CUDA versions are available at:

Optional dependencies

Additional functionality can be installed via extras:

pip install "networkvi[tutorials]"
pip install "networkvi[docs]"
pip install "networkvi[all]"

When using Pixi, extras can be enabled by adjusting pixi.toml.

API

Please find the API here.

Release notes

Please find the release notes here.

Contact

If you found a bug, please use the issue tracker. If you use NetworkVI in your research, please consider citing the preprint:

Arnoldt, L., Upmeier zu Belzen, J., Herrmann, L., Nguyen, K., Theis, F.J., Wild, B. , Eils, R., "Biologically Guided Variational Inference for Interpretable Multimodal Single-Cell Integration and Mechanistic Discovery", bioRxiv, June 2025.

If you are interested in genetic risk modeling with a similar architecture, check out our OGM repository and preprint.

Reproducibility

Code and notebooks to reproduce the results and figues from the paper are available here.

Metadata

Release files for networkvi 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for networkvi 0.2.2
File Size Uploaded Provenance Actions
networkvi-0.2.2.tar.gz 3.3 MB Without provenance Details for networkvi-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for networkvi 0.2.2
File Interpreter ABI Platform Actions
networkvi-0.2.2-py3-none-any.whl Python 3 none any Details for networkvi-0.2.2-py3-none-any.whl

Total release size: 3.5 MB

Release files / networkvi-0.2.2.tar.gz

Download URL networkvi-0.2.2.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
609ce44c9ac70d6341ee9b47db27aaed0b356a763f66606bce774b1fd8d8978d
BLAKE2b-256 checksum
How to use checksums
5d491f9eb70a33e4403bf7ca20123f6dba65a477b2d2fdee237f42090c30473a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.14

Release files / networkvi-0.2.2-py3-none-any.whl

Download URL networkvi-0.2.2-py3-none-any.whl
Size 212.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db0f58e43e3f78056fb4051e33610c8ff57b9a8df492a5009d0902a81c062614
BLAKE2b-256 checksum
How to use checksums
18a9b07f1755bfddc9ccb3249ef49a62a48ba2d374213c65753a100e8161b435
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.14

Security for networkvi 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page