Multi-modal Disentanglement of Spatial Transcriptomics and Histopathology Imaging
Project description
SpatialDIVA - disentangling spatial transcriptomics and histopathology data
This repository contains code for the SpatialDIVA method, associated preprocessing, and evaluations performed in the manuscript - "Multi-modal disentanglement of spatial transcriptomics and histopathology imaging".
Table of Contents
Installation
Coming soon!
Processed datasets
Valdeolivas et al. - colorectal cancer (https://www.nature.com/articles/s41698-023-00488-4)
This dataset can be downloaded from Figshare at https://figshare.com/s/e12b576b1b05cb1ab77d. After downloading, please move the data to the following directory:
mkdir spatialdiva/data
mv valdeolivas_processed spatialdiva/data
Zhou et al. - pancreatic ductal adenocarcinoma (https://www.nature.com/articles/s41588-022-01157-1)
Coming soon!
Usage
Coming soon!
Tutorials
The following notebooks offer more in-depth tutorials on how to use the SpatialDIVA model for relevant analyses of histopathology and spatial transcriptomics data:
-
Factor covariance analysis with SpatialDIVA -
spatialdiva/tutorials/01_colorectal_cancer_spdiva_analysis.ipynb -
Conditional generation analysis with SpatialDIVA - Coming soon!
-
Tumor annotation and subtyping with SpatialDIVA - Coming soon!
Preprocessing
The preprocessed data for Valdeolivas et al. (colorectal cancer) and Zhou et al. (pancreatic cancer) contains spot-aligned features for histopathology imaging extracted using the UNI foundation model (https://github.com/mahmoodlab/UNI).
Code for preprocessing in-house datasets in a similar manner, as well as environment and installation information is available in the spatialdiva/preprocessing directory.
Paper evaluation code
Coming soon!
Citation
TBD
Project details
Release history Release notifications | RSS feed
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 spatialdiva-0.1b0.tar.gz.
File metadata
- Download URL: spatialdiva-0.1b0.tar.gz
- Upload date:
- Size: 879.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.8.18 Linux/5.4.0-131-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ec4b388a971e6279abae8eddc068cafda008bd611927e81035c52ab565c502f
|
|
| MD5 |
173082cb759269315daafb467a60d750
|
|
| BLAKE2b-256 |
5e4d2efa30f4d2f9942adf569658a569a7b6857d7b58cec53aa52c418c01a380
|
File details
Details for the file spatialdiva-0.1b0-py3-none-any.whl.
File metadata
- Download URL: spatialdiva-0.1b0-py3-none-any.whl
- Upload date:
- Size: 878.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.8.18 Linux/5.4.0-131-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46466db23b8fde754282076dc1970c2ba2264be6dd27c7d34c0015f524ba203c
|
|
| MD5 |
9e05706871f511c7fcac189a0ed39f4f
|
|
| BLAKE2b-256 |
884bbfbe4bbbf549d6e32b7a07fb671cb7cd8552c14b39af3c76d7110e02f720
|