Skip to main content

Spatial Multimodal Self-supervised Transformer

Project description

SpatialMST

image image

image

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

Example dataset

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

spatialmst-0.0.3.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spatialmst-0.0.3-py2.py3-none-any.whl (14.3 kB view details)

Uploaded Python 2Python 3

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

Hashes for spatialmst-0.0.3.tar.gz
Algorithm Hash digest
SHA256 de0125615d47372ada42624309a25a31da4c8808b716045b2c4466f594163661
MD5 84973dc150323a709586eda14c5a4a85
BLAKE2b-256 58e95a59a046128cf2be146db35e0abd0341ddb786c4b240e660023855e1baec

See more details on using hashes here.

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

Hashes for spatialmst-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0e47cd8aa37aefc18814d11d9cfa0e7e67d1a33aa930d96233920e208256bd78
MD5 547c43214b665b187f5ba74c3d393edb
BLAKE2b-256 11e7270434ef557981ff37dc97e90ad5f25091c04a682cc718b7baa62b87fee5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page