Skip to content

raphael-group/DeST_OT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeST_OT

Developmental SpatioTemporal Optimal Transport

figure_1

A method for aligning spatially resolved transcriptomics time-series.

There are four main functions:

  1. src/destot/DESTOT/align: Given a pair of ST slices from two developmental timepoints, infer a spatiotemporal alignment matrix Pi and a growth vector xi.
  2. src/destot/DESTOT/xi_to_growth_rate: Given a growth vector xi, convert the values in the growth vector to a growth rate given the start and end timepoints.
  3. src/destot/metrics/growth_distortion_metric: Given a pair of ST slices, their spatiotemporal alignment matrix Pi, and the inferred growth vector xi, calculcate the growth distortion metric as in Eq. 9 of the paper.
  4. src.destot/metrics/migration_metric: Given a pair of ST slices and their spatiotemporal alignment matrix Pi, calculate the migration metric as in Eq. 11 of the paper.

Installation

We will soon make DeST-OT available on PyPi. In the mean time, you can download the repository and call the functions directly.

Contact

If you encounter any problem running the software, please contact Xinhao Liu at xl5434@princeton.edu or Peter Halmos at ph3641@princeton.edu

Reference

Halmos, P., Liu, X., Gold, J., Chen, F., Ding, L. & Raphael, B. J. (2024). DeST-OT: Alignment of Spatiotemporal Transcriptomics Data. bioRxiv. The journal version is under review and the citation will be updated once published.

The bioRxiv version is available here: https://www.biorxiv.org/content/10.1101/2024.03.05.583575v1