Skip to main content

An optimal transport-based algorithm for inferring cell trajectories of spatial transcriptomics.

Project description

DOI

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.

Highlighted features

spaTrack

  • 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

Required python version: 3.7 to 3.10

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-1.0.2.tar.gz (45.8 kB view details)

Uploaded Source

File details

Details for the file spatrack-1.0.2.tar.gz.

File metadata

  • Download URL: spatrack-1.0.2.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for spatrack-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ccbe665b39e802cf7104ceb6028fc8566d90adddf62c393d0af3bcc31441f792
MD5 5de23871b99617fa83301fe46cc47442
BLAKE2b-256 a00237040aefff59484f9eab0dc74dd8380c4c0957b76e10e50e5d624872a580

See more details on using hashes here.

Supported by

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