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.3

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.3
File Size Uploaded Provenance Actions
networkvi-0.2.3.tar.gz 3.3 MB Without provenance Details for networkvi-0.2.3.tar.gz

Built distribution (wheel)

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

Total release size: 3.5 MB

Release files / networkvi-0.2.3.tar.gz

Download URL networkvi-0.2.3.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
69a139b91f103d47bb7b29ec55f736ac66c1b2b41d60ceeefc1b3632d6c17314
BLAKE2b-256 checksum
How to use checksums
cfdc4a6a824b38dbda9205e19b2a692e766a53d48b371956481660b440526cb3
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.3-py3-none-any.whl

Download URL networkvi-0.2.3-py3-none-any.whl
Size 212.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f5b227c95349e7cbc9fb2d4ea49b13a283835a5748572a732c7ad8960f28aa4
BLAKE2b-256 checksum
How to use checksums
14b1ab98abd2584c817d1e385702a946af6611f36f984669e89054942bcc122a
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.3

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