The Python package for a spatial multi-omics integration algorithm called SpaMV.
Project description
SpaMV: An interpretable spatial multi-omics data integration and dimension reduction algorithm
Installation
- Create and activate a conda environment with python 3.12
conda env create spamv python==3.12
conda activate spamv
- (Optional) If you want to apply our algorithm to large datasets (with more than 10,000 spots), please make sure you have installed the pyg-lib package.
pip install pyg-lib -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html
where
${TORCH}should be replaced by either1.13.0,2.0.0,2.1.0,2.2.0,2.3.0,2.4.0,2.5.0,2.6.0, or2.7.0${CUDA}should be replaced by eithercpu,cu102,cu117,cu118,cu121,cu124,cu126, orcu128
- Then you can install our package as follows:
pip install spamv
Tutorial
We provide two jupyter notebooks (Tutorial_simulation.ipynb and Tutorial_realworld.ipynb) to reproduce the results in our paper. Before you run them, please make sure that you have downloaded the simulated data and/or real-world data from our Zenodo repositoy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spamv-1.0.39.tar.gz.
File metadata
- Download URL: spamv-1.0.39.tar.gz
- Upload date:
- Size: 30.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b460d5a1f434f3e8259b9a7f18115449c53b262ddb529930943b277b8af0909
|
|
| MD5 |
cc24497bc0b18fc52a2ea2d8c78f51a2
|
|
| BLAKE2b-256 |
cd4ec56ca2ee2235b06edb506155d7f57f7a6a9844a6ee1093930ef944fb0a41
|
File details
Details for the file spamv-1.0.39-py3-none-any.whl.
File metadata
- Download URL: spamv-1.0.39-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
482290fc8527c2ca0dbeac3cbad169bbd01bde7aa98709061c50945d93958699
|
|
| MD5 |
cb18e50c602547cc5d1631b8efdd74de
|
|
| BLAKE2b-256 |
6c67df4e3dabe9723e7368f5839c33dc4e29eaa611a992cbde11efe292499c5b
|