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
Metadata
Release files for spamosaic 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spamosaic-1.0.3.tar.gz | 30.3 kB | Without provenance | Details for spamosaic-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spamosaic-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for spamosaic-1.0.3-py3-none-any.whl |
Total release size: 65.2 kB
Release files / spamosaic-1.0.3.tar.gz
| Download URL | spamosaic-1.0.3.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a747191db2622ab1f304e84f67aaf5ce4e8c9e9e16b032a201077ecdbe5bb486
|
|
BLAKE2b-256 checksum How to use checksums |
025c162f534e51d6b8c79bac190660e8193ab150067fc2a1f9802381a84b5747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.18
|
Release files / spamosaic-1.0.3-py3-none-any.whl
| Download URL | spamosaic-1.0.3-py3-none-any.whl |
|---|---|
| Size | 35.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fbff3eca9d2fd65d668fe1a7aca7b79f7f4b1c2393206656af449ea22fbb903
|
|
BLAKE2b-256 checksum How to use checksums |
71fc48b502a0732146a04847353cb28c0fa3a5898287d3819d0452d2e67c3057
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.18
|
Security for spamosaic 1.0.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.