Installation
From PyPI
pip install genevector
From Source
git clone https://github.com/nceglia/genevector.git
cd genevector
pip install -e .
With Numba Acceleration
pip install genevector[fast]
With Rust Backend
Requires the Rust toolchain:
pip install maturin
maturin develop --release
Dependencies
Required:
Python >= 3.9
PyTorch
Scanpy, AnnData
NumPy, SciPy, Pandas
Matplotlib, Seaborn
Optional:
Package |
Required for |
Install |
|---|---|---|
|
Fast MI computation |
|
|
Building spatial neighbor graphs |
|
|
PyG-backed aggregations |
See PyG docs |