Skip to main content

SpaMV: An interpretable spatial multi-omics data integration and dimension reduction algorithm

Installation

  1. Create and activate a conda environment with python 3.12
conda env create spamv python==3.12
conda activate spamv
  1. (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 either 1.13.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, or 2.7.0
  • ${CUDA} should be replaced by either cpu, cu102, cu117, cu118, cu121, cu124, cu126, or cu128
  1. 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.

Release files for SpaMV 1.0.45

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

Source distribution (sdist)

Source distribution for SpaMV 1.0.45
File Size Uploaded
spamv-1.0.45.tar.gz 30.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SpaMV 1.0.45
File Interpreter ABI Platform
spamv-1.0.45-py3-none-any.whl Python 3 none any Details

Total release size: 62.6 kB

Release files / spamv-1.0.45.tar.gz

Download URL spamv-1.0.45.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
167f2a7498f538153ac817654859a51f884d92bf268afd065c56fef137a0d361
BLAKE2b-256 checksum
How to use checksums
b61e120cd28e6678a9ee4d26ff6cf8a898a48b7cc2ec284ecc76b10d473f9e97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / spamv-1.0.45-py3-none-any.whl

Download URL spamv-1.0.45-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0bf8accf08ea34591851ec3a68970d0372b4de532b7a11c97e260a83975c46c1
BLAKE2b-256 checksum
How to use checksums
eb039fbe740fdf8340c02ec71cb8189302efe2da91717f67fda5ce1172dae823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

1.0.45 This release

2 release files

1.0.44

2 release files

1.0.43

2 release files

1.0.42

2 release files

1.0.41

2 release files

1.0.40

2 release files

1.0.39

2 release files

1.0.38

2 release files

1.0.37

2 release files

1.0.36

2 release files

1.0.35

2 release files

1.0.33

2 release files

1.0.32

2 release files

1.0.31

2 release files

1.0.30

2 release files

1.0.29

2 release files

1.0.28

2 release files

1.0.27

2 release files

1.0.22

2 release files

1.0.21

2 release files

1.0.20

2 release files

1.0.19

2 release files

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