Skip to main content

an algorithm that combine both gene expression and spot location to inference cell trajectory

Project description

# Introduction

Trajectory inference (TI) provides important insights in understanding cell development and biological process. However, the integration of transcriptomic profiles and spatial locations to organize spatiotemporal cell orders is currently remaining challenges. Here we introduce spaTrack, which effectively constructs cell trajectories from an optimal-transport matrix at single cell resolution, taking into account both profile of gene expression and distance cost of cell transition in a spatial context.

spaTrack has the potential to capture fine local details of trajectory within a single tissue section of spatial transcriptomics (ST) data, as well as reconstruct cell dynamics across multiple tissue sections in a time series. To capture potential dynamic drivers, spaTrack models the fate of a cell as a function of expression profile along the time points driven by transcription factors, which facilitates the identification of key molecular regulators that govern cellular trajectories.

<img src=”” width=”1000px”>

# Highlighted features


  • reconstructs fine local trajectories from ST data.

  • integrates spatial transition matrix of multiple samples to generate complete trajectories.

  • traces cell trajectory across multiple tissue sections via direct mapping without integrating data.

  • captures the driven factors of differentiation.

  • could be extensively applied on both ST data and scRNA-seq data.

  • requires lower computing memory and loads than RNA-velocity methods, making it a fast and effective option for TI study.

# Installation

`shell pip install spaTrack `

# Turorials

We provide the following five tutorials as reference cases to illustrate the application of spaTrack in inferring cell trajectories on ST data of single slices with a single starting point and multiple starting points, as well as ST data of multiple time slices, and scRNA-seq data.

  1. [Apply spaTrack to infer a trajectory on spatial transcriptomic data from axolotl brain regeneration after injury.](

  2. [Apply spaTrack to infer a trajectory on spatial transcriptomic data from  Intrahepatic cholangiocarcinoma cancer with multiple starting points.](

  3. [Apply spaTrack to infer a trajectory on spatial transcriptomic data from multiple time slices of axolotl brain regeneration.](

  4. [Apply spaTrack to infer cell transitions across multiple time points in spatial transcriptomic data from the mouse midbrain.](

  5. [Apply spaTrack to infer cell trajectory in scRNA-seq data from  hematopoietic stem cells development with multiple directions.](

# Reference

[Shen, X.#, Huang, K.#, Zuo, L.#, Ye, Z.#, Li, Z., Yu, Q., Zou, X., Wei, X., Xu, P., Jin, X., Xu, X., Wu, L., Zhu, H., & Qin, P. (2023). Inferring cell trajectories of spatial transcriptomics via optimal transport analysis. bioRxiv, 2023.09.04.556175.](

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

spaTrack-0.1.1.tar.gz (42.5 kB view hashes)

Uploaded Source

Supported by

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