SpaMosaic: Mosaic Integration of Spatial Multi-omics
Project description
SpaMosaic
SpaMosaic is a Python package for spatial multi-omics data integration using contrastive learning and graph neural networks. It supports integration of partially overlapping modalities and facilitates downstream analyses such as spatial domain identification and modality imputation.
🔧 Features
- Horizontal integration: integrates multiple slices within a single modality
- Vertical integration: integrates multiple modalities measured from the same slice
- Mosaic integration: integrates multiple slices with overallping modalities
- Imputation: imputes expression profiles of missing omics
🚀 Installation
Required Dependencies
SpaMosaic requires external installation of the following packages (not installed automatically):
- PyTorch (version ≥ 2.0)
- PyTorch Geometric (torch-scatter, torch-sparse, etc.)
- harmony-pytorch (version ≥ 0.1.7)
Once these dependencies are installed, simply run:
pip install spamosaic
⚠️ Note Both CPU and GPU versions of PyTorch and PyTorch Geometric are compatible with SpaMosaic.
📚 Documentation
📖 Full tutorials and API reference: 👉 https://spamosaic.readthedocs.io
📄 License
SpaMosaic is released under the MIT License. © 2025 Jinmiao Lab
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 spamosaic-1.0.3.tar.gz.
File metadata
- Download URL: spamosaic-1.0.3.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a747191db2622ab1f304e84f67aaf5ce4e8c9e9e16b032a201077ecdbe5bb486
|
|
| MD5 |
275994dec87ca1601454eb8b75c607b9
|
|
| BLAKE2b-256 |
025c162f534e51d6b8c79bac190660e8193ab150067fc2a1f9802381a84b5747
|
File details
Details for the file spamosaic-1.0.3-py3-none-any.whl.
File metadata
- Download URL: spamosaic-1.0.3-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fbff3eca9d2fd65d668fe1a7aca7b79f7f4b1c2393206656af449ea22fbb903
|
|
| MD5 |
61119cbedff3185192e76151bd570782
|
|
| BLAKE2b-256 |
71fc48b502a0732146a04847353cb28c0fa3a5898287d3819d0452d2e67c3057
|