Skip to content

cuhklinlab/STIFT

Repository files navigation

STIFT: Spatiotemporal Integration Framework for Transcriptomics

Overview

1735978713551.png

STIFT enables batch effect removal, spatial domain identification, and exploration of developmental dynamics during developmental and regenerative processes.

STIFT first uses developmental spatiotemporal optimal transport to establish probabilistic mappings between spots across consecutive time points using the gene expression information and spatial coordinates information of all slices. Second, it simultaneously constructs a spatial neighbor network using the spatial coordinates information within each slice and a temporal relation network from the probabilistic mappings. Third, it integrates these two networks to construct a spatiotemporal graph. Finally, it takes the spatiotemporal graph and gene expression information to Graph Attention Autoencoder (GATE) with triplet learning informed by temporal relations to generate integrated embeddings that preserve both spatial organization and developmental trajectories.

Installation

Clone the repository

git clone https://github.com/TheLittleJimmy/STIFT.git
cd STIFT

Create new environment

#create an environment called env_STAligner
conda create -n env_STIFT python=3.9.19

#activate your environment
conda activate env_STIFT

Install required packages

pip install -r requirements.txt

Install STIFT

pip install .

Tutorial

Tutorial provides the basic workflow of STIFT.

Contact

If there are any questions, please contact the author at qiji@link.cuhk.edu.hk. The author is happy to help!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors