Skip to main content

Multi-modal Disentanglement of Spatial Transcriptomics and Histopathology Imaging

Project description

Build Status bioRxiv License DOI

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:

  1. Factor covariance analysis with SpatialDIVA - spatialdiva/tutorials/01_colorectal_cancer_spdiva_analysis.ipynb

  2. Conditional generation analysis with SpatialDIVA - Coming soon!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spatialdiva-0.1b0.tar.gz (879.2 kB view details)

Uploaded Source

Built Distribution

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

spatialdiva-0.1b0-py3-none-any.whl (878.3 kB view details)

Uploaded Python 3

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

Hashes for spatialdiva-0.1b0.tar.gz
Algorithm Hash digest
SHA256 1ec4b388a971e6279abae8eddc068cafda008bd611927e81035c52ab565c502f
MD5 173082cb759269315daafb467a60d750
BLAKE2b-256 5e4d2efa30f4d2f9942adf569658a569a7b6857d7b58cec53aa52c418c01a380

See more details on using hashes here.

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

Hashes for spatialdiva-0.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 46466db23b8fde754282076dc1970c2ba2264be6dd27c7d34c0015f524ba203c
MD5 9e05706871f511c7fcac189a0ed39f4f
BLAKE2b-256 884bbfbe4bbbf549d6e32b7a07fb671cb7cd8552c14b39af3c76d7110e02f720

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