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 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

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.4.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.4-py2.py3-none-any.whl (14.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file spatialmst-0.0.4.tar.gz.

File metadata

  • Download URL: spatialmst-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 f8d9db4cb8836a61e414badb529904f725885b409245806ea5fc3483806b1be3
MD5 89bce797e07bc0b244d7988452f134c9
BLAKE2b-256 1b3d05e94801d0bb4ec301a07bf98c5b302b2a2bb12cc7c35c3a975a011f54f1

See more details on using hashes here.

File details

Details for the file spatialmst-0.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: spatialmst-0.0.4-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.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fed8a41d6c4f219e3e7ab32f544cc222aa6b0da5108acc7b92981a20dee0a836
MD5 2fd9336f3e7eadca5743a5d7c5e292a2
BLAKE2b-256 23a44acea0a91e700742cb21e3915b0f7f21ce2113bc6f47aa3b6f4bc8c98c7f

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