SpatialMST
Spatial Multimodal Self-supervised Transformer
- Free software: MIT License
Installation
Create environment
conda create -n SpatialMSTEnv python=3.11
conda activate SpatialMSTEnv
Install ipykernel
conda install ipykernel
python -m ipykernel install --user --name SpatialMSTEnv --display-name "Python(SpatialMSTEnv)"
Install POT: Python Optimal Transport
conda install -c conda-forge pot
Install Pytorch and pytorch-geometric
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu129
pip install torch_geometric
Install SpatialMST
PyPI package: https://pypi.org/project/SpatialMST
pip install SpatialMST
The source files for SpatialMST can be downloaded from the Github repo.
You can either clone the public repository:
git clone https://github.com/Angione-Lab/SpatialMST.git
Once you have a copy of the source, you can install it with:
cd spatialmst
uv pip install .
Generate metabolic module flux rates and metabolite abundances for spatial transcriptomics using scFEA.
The estimated metabolic module flux rates and metabolite abundances construct the two modalities and the spatial transcriptomics data represents the third modality.
https://www.biorxiv.org/content/10.1101/2020.09.23.310656v1.full Github link
Integrating spatial transcriptomics with metabolic module fluxes and metabolite abundance:
Tutorial on multimodal integration and analysis
Download the datasets from figshare
Metadata
Release files for SpatialMST 0.0.4
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 |
|---|---|---|---|---|
| spatialmst-0.0.4.tar.gz | 11.3 kB | Without provenance | Details for spatialmst-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spatialmst-0.0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for spatialmst-0.0.4-py2.py3-none-any.whl |
Total release size: 25.6 kB
Release files / spatialmst-0.0.4.tar.gz
| Download URL | spatialmst-0.0.4.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8d9db4cb8836a61e414badb529904f725885b409245806ea5fc3483806b1be3
|
|
BLAKE2b-256 checksum How to use checksums |
1b3d05e94801d0bb4ec301a07bf98c5b302b2a2bb12cc7c35c3a975a011f54f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Release files / spatialmst-0.0.4-py2.py3-none-any.whl
| Download URL | spatialmst-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fed8a41d6c4f219e3e7ab32f544cc222aa6b0da5108acc7b92981a20dee0a836
|
|
BLAKE2b-256 checksum How to use checksums |
23a44acea0a91e700742cb21e3915b0f7f21ce2113bc6f47aa3b6f4bc8c98c7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Security for SpatialMST 0.0.4
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.