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 | |
|---|---|---|---|
| spatialmst-0.0.4.tar.gz | 11.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spatialmst-0.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
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
|