Spatial Multimodal Self-supervised Transformer
Project description
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 spMetaTME 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 spmetatme
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 spatial multimodal integration and analysis
Download the datasets from figshare
Project details
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 spatialmst-0.0.3.tar.gz.
File metadata
- Download URL: spatialmst-0.0.3.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de0125615d47372ada42624309a25a31da4c8808b716045b2c4466f594163661
|
|
| MD5 |
84973dc150323a709586eda14c5a4a85
|
|
| BLAKE2b-256 |
58e95a59a046128cf2be146db35e0abd0341ddb786c4b240e660023855e1baec
|
File details
Details for the file spatialmst-0.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: spatialmst-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e47cd8aa37aefc18814d11d9cfa0e7e67d1a33aa930d96233920e208256bd78
|
|
| MD5 |
547c43214b665b187f5ba74c3d393edb
|
|
| BLAKE2b-256 |
11e7270434ef557981ff37dc97e90ad5f25091c04a682cc718b7baa62b87fee5
|