Learning stochastic dynamics and cell-fate landscapes from single-cell snapshots via optimal transport.
The 9 matches
- [1] § MATERIALS AND METHODS › Data preprocessing ↔ Notebooks/Mouse hematopoietic.ipynb, lines 1–27 · score 0.94 · highly variable genes, mouse hematopoietic, dendritic cells, log transformed, undifferentiated cells, eliminated cell
- [2] § MATERIALS AND METHODS › Data preprocessing ↔ Kukreja_CellCycle_2024/scRNA-seq_data_analysis/10.diff_delay_by_classification.ipynb, lines 276–286 · score 0.63 · spinal cord, Neural crest, arch, muscle, seq, cells
- [3] § MATERIALS AND METHODS › Data preprocessing ↔ Kukreja_CellCycle_2024/scRNA-seq_data_analysis/14.proliferation_score_tree.ipynb, lines 218–228 · score 0.63 · spinal cord, Neural crest, arch, muscle, seq, cells
- [4] § MATERIALS AND METHODS › Total loss of DiffusionOT and training details › Stage 2: Unified training ↔ Notebooks/MISA.ipynb, lines 1–55 · score 0.63 · MISA model, gene regulatory, epochs, configurations, DiffusionOT, Adam
- [5] § MATERIALS AND METHODS › MISA simulation model ↔ Notebooks/MISA.ipynb, lines 1–55 · score 0.59 · MISA model, Hill function, mutually inhibit, DiffusionOT, activated, regulatory
- [6] § RESULTS › Reconstructing cellular dynamics from spatial Stereo-seq data ↔ Kukreja_CellCycle_2024/scRNA-seq_data_analysis/10.diff_delay_by_classification.ipynb, lines 276–286 · score 0.53 · spinal cord, neural crest, muscle, seq, cell
- [7] § RESULTS › Reconstructing cellular dynamics from spatial Stereo-seq data ↔ Kukreja_CellCycle_2024/scRNA-seq_data_analysis/14.proliferation_score_tree.ipynb, lines 218–228 · score 0.53 · spinal cord, neural crest, muscle, seq, cell
- [8] § RESULTS › Identifying multiple cell fate bifurcations ↔ Notebooks/Mouse hematopoietic.ipynb, lines 1–27 · score 0.53 · mouse hematopoietic, undifferentiated cells, DiffusionOT, megakaryocytes, erythrocyte, Mk
- [9] § MATERIALS AND METHODS › Total loss of DiffusionOT and training details › Stage 2: Unified training ↔ Notebooks/EMT.ipynb, lines 1–68 · score 0.52 · gene regulatory, epochs, configurations, DiffusionOT, Adam, weighted
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Jupyter notebook · 308 lines · 11 KB · MIT · 2 matches
- # %% [markdown]
- # # **Introduction**
- #
- # In this tutorial, we demonstrate how to use autoencoer (AE) on Mouse hematopoietic dataset. The mouse hematopoietic dataset is time-series scRNA-seq datasewas downloaded from the NCBI Gene Expression Omnibus (GEO) under accession number GSE140802, or alternatively from thets [1].
- #
- # For the mouse hematopoietic data, which includes three time points (2d, 4d, 6d), we first removed genes with expression levels below `1%` in all cells and further eliminated cell types with a small number of samples. The remaining cell types included erythrocytes (Er), megakaryocytes (Mk), basophils (Ba), mast cells (Ma), eosinophils (Eos), neutrophils (Neu), monocytes (Mo), dendritic cells (plasmocytoid pDC; Ccr7+migratory cDC) and undifferentiated cells (Ud). We then log-transformed the gene expression data and retained the top $3000$ highly variable genes for subsequent analysis, resulting in a dataset size of $43,968$ cells × $3000$ genes.
- #
- # References:
- # 1. Weinreb C, Rodriguez-Fraticelli A, Camargo FD, Klein AM. Lineage tracing on transcriptional landscapes links state to fate during differentiation. Science 367, eaaw3381 (2020).42
- # %% [markdown]
- # ## Using AE to dimension reduction
- # %%
- import numpy as np
- import torch
- import torch.nn as nn
- import pandas as pd
- import scanpy as sc
- from matplotlib.pyplot import rc_context
- import os
- from pathlib import Path
- import matplotlib.pyplot as plt
- import gc
- import sys
- sys.path.append(r'C:\Users\JTliu\Desktop\DiffusionOT-main')
- from AE import AutoEncoder, Trainer
- def load_data(dataset:str,path_to_data):
- if dataset=='EMT':
- adata = sc.read_h5ad(path_to_data+'emt.h5ad')
- X=adata.X
- elif dataset=='Mouse':
- adata = sc.read_h5ad(path_to_data+'mouse_pre.h5ad')
- adata.obs.rename(columns={'Time point': 'time','Cell type annotation':'cell type'}, inplace=True)
- adata.obs['time'] = adata.obs['time'].astype(str)
- X=adata.X
- else:
- raise NotImplementedError
- return adata,X
- def folder_dir(dataset:str='EMT',
- seed:int=42,
- n_latent:int=6,
- n_hidden:int=300,
- n_layers: int=1,
- activation: str = 'relu',
- dropout:float=0.2,
- weight_decay:float=1e-4,
- lr:float=1e-3,
- batch_size: int=32,):
- folder=Path('results/'+dataset+'_'+str(seed)+\
- '_'+str(n_latent)+'_'+str(n_layers)+'_'+str(n_hidden)+\
- '_'+str(dropout)+'_'+str(weight_decay)+'_'+str(lr)+'_'+str(batch_size)+'/')
- return folder
- def generate_plots(folder,model, adata,seed,n_neighbors=10,min_dist=0.5,plots='umap',name='time'):
- model.eval()
- with torch.no_grad():
- X_latent_AE=model.get_latent_representation(torch.tensor(adata.X).type(torch.float32).to('cpu'))
- adata.obsm['X_AE']=X_latent_AE.detach().cpu().numpy()
- sc.pp.neighbors(adata, n_neighbors=n_neighbors,use_rep='X_AE')
- color_wanted = ['#d62728', '#2ca02c', '#8c564b',
- '#e377c2', '#17becf', '#bcbd22',
- '#1f77b4', '#9467bd', '#ff7f0e',
- '#7f7f7f','#2f7f2e']
- if dataset in ['EMT','Mouse']:
- color=[name]
- #color=['cell type']
- else:
- raise NotImplementedError
- if plots=='umap':
- sc.tl.umap(adata,random_state=seed,min_dist=min_dist)
- with rc_context({'figure.figsize': (8, 8*len(color))}):
- fig = sc.pl.umap(adata, color=color,
- #palette=color_wanted,
- legend_loc='on data',
- legend_fontsize=12,
- legend_fontoutline=2,
- return_fig = True)
- fig.savefig(str(folder) + '/umap_{}.png'.format(name),bbox_inches='tight',dpi=300)
- #plt.close()
- plt.show()
- elif plots=='embedding':
- #fig, axs = plt.subplots() # 创建子图
- with rc_context({'figure.figsize': (8*len(color), 8)}):
- fig = sc.pl.embedding(adata, 'X_AE',color=color,
- palette=color_wanted,
- legend_loc='on data',
- legend_fontsize=12,
- legend_fontoutline=2,
- return_fig = True)
- #plt.legend(frameon=False)
- #plt.xticks([plt.xlim()[0], 0., plt.xlim()[1]])
- #plt.yticks([plt.ylim()[0], 0., plt.ylim()[1]])
- fig.savefig(str(folder) + '/embedding_{}.png'.format(name),bbox_inches='tight',dpi=300)
- plt.show()
- def loss_plots(folder,model):
- fig,axs=plt.subplots(1, 1, figsize=(4, 4))
- axs.set_title('AE loss')
- axs.plot(model.history['epoch'], model.history['train_loss'])
- axs.plot(model.history['epoch'], model.history['val_loss'])
- plt.yscale('log')
- axs.legend(['train loss','val loss'])
- plt.savefig(str(folder)+'/loss.pdf')
- plt.show()
- def main(dataset:str='EMT',
- seed:int=42,
- n_latent:int=6,
- n_hidden:int=300,
- n_layers: int=1,
- activation: str='relu',
- dropout:float=0.2,
- weight_decay:float=1e-4,
- lr:float=1e-3,
- max_epoch:int=500,
- batch_size: int=32,
- mode='training',
- path_to_data='Path to data'
- ):
- adata,X = load_data(dataset,path_to_data)
- model=AutoEncoder(in_dim=X.shape[1],
- n_latent=n_latent,
- n_hidden=n_hidden,
- n_layers=n_layers,
- activate_type=activation,
- dropout=dropout,
- norm=True,
- seed=seed,)
- trainer=Trainer(model,X=X,
- test_size=0.1,
- lr=lr,
- batch_size=batch_size,
- weight_decay=weight_decay,
- seed=seed)
- folder=folder_dir(dataset=dataset,
- seed=seed,
- n_latent=n_latent,
- n_hidden=n_hidden,
- n_layers=n_layers,
- dropout=dropout,
- activation=activation,
- weight_decay=weight_decay,
- lr=lr,
- batch_size=batch_size,)
- folder=Path(os.path.join(path_to_data,folder))
- if mode=='training':
- print('training the model')
- trainer.train(max_epoch=max_epoch,patient=30,tol=0.001)##no improvement times tol=0.01
- # model.eval()
- if not os.path.exists(folder):
- folder.mkdir(parents=True)
- torch.save({
- 'func_state_dict': model.state_dict(),
- 'optimizer_state_dict': trainer.optimizer.state_dict(),
- 'loss_history':trainer.model.history,
- }, os.path.join(folder,'model.pt'))
- elif mode=='loading':
- print('loading the model')
- check_pt = torch.load(os.path.join(folder, 'model.pt'))
- model.load_state_dict(check_pt['func_state_dict'])
- trainer.optimizer.load_state_dict(check_pt['optimizer_state_dict'])
- model.history=check_pt['loss_history']
- return model,trainer,adata,folder
- # %% [markdown]
- # Here we consider the dimension of latent space is 2.
- # %%
- #######
- seed=42
- n_layers = 1
- batch_size=128
- dataset='Mouse'
- lr=1e-3
- n_hidden=300
- n_latent = 2
- path_to_data = "C:/Users/JTliu/Desktop/DiffusionOT-main/Rawdata/"
- model,trainer, adata,folder=main(dataset=dataset,seed=seed,
- n_layers=n_layers,n_latent=n_latent,n_hidden=n_hidden,
- activation='relu',
- lr=lr,batch_size=batch_size,
- max_epoch=500,
- mode='training',#mode='training','loading'
- path_to_data = path_to_data)
- model=model.to('cpu')
- adata.obs['time'] = adata.obs['time'].astype(str)
- generate_plots(folder,model,adata,seed,n_neighbors=20,min_dist=0.5,plots='embedding',name='time')
- # %%
- generate_plots(folder,model,adata,seed,n_neighbors=20,min_dist=0.5,plots='embedding',name='cell type')
- # %%
- loss_plots(folder,model)
- # %% [markdown]
- # Normalize and Convert latent spaces data to the desired format
- # %%
- model.eval()
- with torch.no_grad():
- X_latent_AE=model.get_latent_representation(torch.tensor(adata.X).type(torch.float32).to('cpu'))
- adata.obsm['X_AE']=X_latent_AE.detach().cpu().numpy()
- np.max(X_latent_AE.detach().cpu().numpy(),axis=0)
- np.min(X_latent_AE.detach().cpu().numpy(),axis=0)
- time_label = adata.obs['time'].to_numpy(dtype=object)
- type_label = adata.obs['cell type'].to_numpy(dtype=object)
- X_latent_AE_np = X_latent_AE.detach().cpu().numpy()
- # Convert points_all to the desired format
- np.savez("C:/Users/JTliu/Desktop/DiffusionOT-main/Input/Mouse_latent_ae_scaled.npz",
- latent_ae_scaled=X_latent_AE_np,
- time_label=time_label,
- type_label=type_label)
- # %% [markdown]
- # ## Visualization
- # %%
- import os
- import numpy as np
- import torch
- import torch.nn as nn
- import torch.optim as optim
- import sys
- sys.path.append('C:\\Users\\JTliu\\Desktop\\DiffusionOT-main\\')
- from utility import *
- args = create_args()
- # %% [markdown]
- # ## Load data and model
- # %%
- save_dir=args.save_dir
- random.seed(args.seed)
- torch.manual_seed(args.seed)
- device = torch.device('cpu')
- # load dataset
- data = np.load(args.input_dir+'/Mouse_latent_ae_scaled.npz', allow_pickle=True)
- latent_ae_scaled = data['latent_ae_scaled']
- time_label = data['time_label']
- type_label = data['type_label']
- time_all = ['2','4','6']
- data_train = []
- data_type = []
- for k in range(len(time_all)):
- indices = [i for i, l in enumerate(time_label) if l == time_all[k]]
- samples = latent_ae_scaled[indices,]
- cell_type = type_label[indices,]
- samples = torch.from_numpy(samples).type(torch.float32).to(device)
- data_train.append(samples)
- data_type.append(cell_type)
- #data_train = loaddata(args,device)
- integral_time = args.timepoints
- time_pts = range(len(data_train))
- leave_1_out = []
- train_time = [x for i,x in enumerate(time_pts) if i!=leave_1_out]
- # model
- func = RUOT(in_out_dim=data_train[0].shape[1], hidden_dim=args.hidden_dim,n_hiddens=args.n_hiddens,activation=args.activation,d =args.d).to(device)
- # load trained networks
- if args.save_dir is not None:
- if not os.path.exists(args.save_dir):
- os.makedirs(args.save_dir)
- ckpt_path = os.path.join(args.save_dir, 'ckpt_Mouse.pth')#'ckpt6_MISA3_D_{:.3f}.pth'.format(D0) 'ckpt6_MISA4.pth''ckpt_EMT.pth'ckpt_Simulation_itr2000_D_0.040
- if os.path.exists(ckpt_path):
- checkpoint = torch.load(ckpt_path,map_location=torch.device('cpu'))
- func.load_state_dict(checkpoint['func_state_dict'])
- print('Loaded ckpt from {}'.format(ckpt_path))
- D_t=diffusion_fit(func,args,data_train,train_time,integral_time,device,time_tt=0.1)
- D=torch.mean(D_t)
- func.d=torch.nn.Parameter(D)
- # %% [markdown]
- # ## Cell velocity
- # %%
- plot_2d_v(func,data_train,train_time,integral_time,args,device)
- # %% [markdown]
- # ## Cell fate landscape
- # %%
- plot_3d_landscape(func,data_train,train_time,integral_time,args,device)
- # %% [markdown]
- # ## Plot trajectory and growth
- # %%
- plot_2d(func,data_train,train_time,integral_time,args,device)
Mouse hematopoietic.ipynb at commit bb3c5bd, under MIT · at the source
Overview
- Institute of Science and Technology for Brain-Inspired Intelligence, Fudan University, Shanghai 200433, China
- Shanghai Center for Mathematical Sciences, Fudan University, Shanghai 200433, China
- Center for Machine Learning Research, Peking University, Beijing 100871, China
- Center for Quantitative Biology, Peking University, Beijing 100871, China
- National Engineering Laboratory for Big Data Analysis and Applications, Beijing 100871, China
- AI for Science Institute, Beijing 100084, China
- Department of Mathematics and Department of Developmental & Cell Biology, University of California, Irvine, Irvine, CA 92612, USA
- School of Mathematical Sciences, Center for Applied Mathematics, Shanghai Key Laboratory for Contemporary Applied Mathematics, and MOE Frontiers Center for Brain Science, Fudan University, Shanghai 200433, China
Abstract
The temporal dynamics and stochasticity of gene expression are critical to cell fate decisions, yet integrating snapshot omics data across multiple time points remains a major challenge. Here, we introduce DiffusionOT, a dynamic machine learning framework that infers cellular trajectories from multi–time point single-cell transcriptomics by incorporating stochastic effects. DiffusionOT transforms stochastic differential equations into ordinary differential equations, using optimal transport and neural networks to solve a high-dimensional landscape model. Through an unsupervised learning of the stochastic force in the data, DiffusionOT allows robust inference of the underlying stochastic dynamics of cell-state transitions. The framework includes a stochastic trajectory analysis module for lineage tracing and a gene perturbation module for in silico knockout and overexpression experiments. Benchmarks on simulated and four real-world datasets, including a spatial Stereo-seq dataset, demonstrate DiffusionOT’s accuracy and efficiency in inferring state-transition velocities, cellular trajectories, population growth, gene regulatory networks, and cell-fate landscape.
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 9 matches between paragraphs and lines of code.
allonkleinlab/paper-data
b8658b78c1c288019dfa60b6f50aace270528a29, 31 March 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
33 files, not copied: shown from their source
OSCR keeps no copy of these files: this repository has no license that allows it. The reader above shows each one from its source, fetched by your browser at commit b8658b7, when its fingerprint is the one OSCR verified. How this works.
- Kukreja_CellCycle_2024/
Image_analysis/ — Jupyter, 126 lines, shown from its source20231214_z20c_Voltron_GC aMP_Heartbeat_Plotting.i pynb - Kukreja_CellCycle_2024/
Image_analysis/ — Jupyter, 282 lines, shown from its source20240116_phalloidin_head _volume_measurement.ipyn b - Kukreja_CellCycle_2024/
Image_analysis/ — Jupyter, 241 lines, shown from its source20240120_emi_pH3_run_cel lpose.ipynb - Kukreja_CellCycle_2024/
Image_analysis/ — Jupyter, 192 lines, shown from its source20240409_tissue_nuclear_ size_comparison_emi_ctrl .ipynb - Kukreja_CellCycle_2024/
Image_analysis/ — Jupyter, 197 lines, shown from its source20240423_HUA_nuclear_siz e_run_cellpose.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 711 lines, shown from its source.ipynb_checkpoints/ 1.preprocessing_data-che ckpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 345 lines, shown from its source.ipynb_checkpoints/ 10.diff_delay_by_classif ication-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 351 lines, shown from its source.ipynb_checkpoints/ 10.differentiation_delay _quantification_by_class ification_v2-checkpoint. ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 327 lines, shown from its source.ipynb_checkpoints/ 11.abundance_analysis_hu a-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 142 lines, shown from its source.ipynb_checkpoints/ 12.beta_binomial_test_ab undance_hua-checkpoint.i pynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 363 lines, shown from its source.ipynb_checkpoints/ 14.proliferation_score_t ree-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — R, 199 lines, shown from its source.ipynb_checkpoints/ 15.FinalTricycleAnalysis -checkpoint.R - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 193 lines, shown from its source.ipynb_checkpoints/ 2.classification_14hpf-c heckpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 166 lines, shown from its source.ipynb_checkpoints/ 3.Fig1_find_top_marker_g enes-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 220 lines, shown from its source.ipynb_checkpoints/ 4.Fig1_compare_top_marke rs-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 374 lines, shown from its source.ipynb_checkpoints/ 5.Fig1_number_of_diff_ge nes_from6-checkpoint.ipy nb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 424 lines, shown from its source.ipynb_checkpoints/ 6.Fig1_number_of_leiden_ clusters-checkpoint.ipyn b - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 437 lines, shown from its source.ipynb_checkpoints/ 7.Fig3_cosine_distance_h ighly_var_genes-checkpoi nt.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 549 lines, shown from its source.ipynb_checkpoints/ 8.23-02-21_global_progra ms-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 206 lines, shown from its source.ipynb_checkpoints/ 9.percent_TTV-checkpoint .ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 220 lines, shown from its source.ipynb_checkpoints/ Fig1_compare_top_markers -checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 166 lines, shown from its source.ipynb_checkpoints/ Fig1_find_top_marker_gen es-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 398 lines, shown from its source.ipynb_checkpoints/ Fig1_number_of_diff_gene s_from6-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 462 lines, shown from its source.ipynb_checkpoints/ Fig1_number_of_leiden_cl usters-checkpoint.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 568 lines, shown from its source.ipynb_checkpoints/ Fig3_cosine_distance_hig hly_var_genes-checkpoint .ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 711 lines, shown from its source1.preprocessing_data.ipy nb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 345 lines, 2 matches, shown from its source10.diff_delay_by_classif ication.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 327 lines, shown from its source11.abundance_analysis_hu a.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 142 lines, shown from its source12.beta_binomial_test_ab undance_hua.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 363 lines, 2 matches, shown from its source14.proliferation_score_t ree.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — R, 199 lines, shown from its source15.FinalTricycleAnalysis .R - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 398 lines, shown from its source16.correlation_analyses_ FC_abundance_v1_kk.ipynb - Kukreja_CellCycle_2024/
scRNA-seq_data_analysis/ — Jupyter, 299 lines, shown from its source17.correlation_analyses_ all_vs_cc_v1.ipynb - This repository has no license: its authors keep all rights. Read it at the source.
liujuntan/DiffusionOT
bb3c5bd0c18066e90929961e92b79ffd9abb5e86, 7 August 2025Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
11 files
- AE/
__init__.py — Python, 3 lines - AE/
models.py — Python, 216 lines - AE/
trainer.py — Python, 115 lines - AE/
utility.py — Python, 57 lines - Notebooks/
EMT.ipynb — Jupyter, 394 lines, 1 match - Notebooks/
MISA.ipynb — Jupyter, 224 lines, 2 matches - Notebooks/
Mouse hematopoietic.ipynb — Jupyter, 308 lines, 2 matches - training.py — Python, 203 lines
- utility.py — Python, 1,740 lines
- LICENSE — License, 21 lines
- README.md — Text, 183 lines
Zenodo 18251638
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
- 26 September 2026: the link answers (HTTP 200)
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 42 scripts, each with its path and the digest of its content;
- 9 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- geo:GSE196211 — at NCBI GEO; found in “Data, code, and materials availability:”
Data, code, and materials availability
All data and code needed to evaluate and reproduce the results in the paper are present in the paper and/
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 10 MeSH terms, 2 funders, 60 references.
Cite
This paper
Liu, J., Zhou, P., Nie, Q., & Li, C. (2026). Learning stochastic dynamics and cell-fate landscapes from single-cell snapshots via optimal transport. Science advances, 12(37), eaeb4205. https://
BibTeX
@article{liu2026learning
author = {Liu, Juntan and Zhou, Peijie and Nie, Qing and Li, Chunhe},
title = {{Learning stochastic dynamics and cell-fate landscapes from single-cell snapshots via optimal transport}},
journal = {Science advances},
year = {2026},
month = sep,
volume = {12},
number = {37},
pages = {eaeb4205},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/
url = {https://
pmid = {42715336},
pmcid = {PMC13557085}
}
RIS
TY - JOUR
AU - Liu, Juntan
AU - Zhou, Peijie
AU - Nie, Qing
AU - Li, Chunhe
TI - Learning stochastic dynamics and cell-fate landscapes from single-cell snapshots via optimal transport
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/
VL - 12
IS - 37
SP - eaeb4205
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1126/
"type": "article-journal",
"title": "Learning stochastic dynamics and cell-fate landscapes from single-cell snapshots via optimal transport",
"container-title": "Science advances",
"author": [
{
"family": "Liu",
"given": "Juntan"
},
{
"family": "Zhou",
"given": "Peijie"
},
{
"family": "Nie",
"given": "Qing"
},
{
"family": "Li",
"given": "Chunhe"
}
],
"container-title-short":
"volume": "12",
"issue": "37",
"page": "eaeb4205",
"DOI": "10.1126/
"PMID": "42715336",
"PMCID": "PMC13557085",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
9
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1371/journal.pcbi.1014346 [code]
- StPedf: Cell trajectory inference of spatial transcriptomics via spatial proximity embedding and spatial density-adaptive fusion.Journal: PLoS computational biologyIn common: Scanpy, statsmodels, PyTorch, 6 other tools, 5 references
- [2] doi:10.7554/elife.108950 [code]
- Comprehensive RNA velocity by modeling the cascade of gene regulation, transcription, and splicing from single-cell RNA sequencing data with TSvelo.Journal: eLifeIn common: Scanpy, PyTorch, seaborn, 4 other tools, cellular / molecular, 6 references
- [3] doi:10.1093/bioinformatics/btag652 [code]
- mmVelo: a deep generative model for estimating cell state-dependent dynamics across multiple modalities.Journal: Bioinformatics (Oxford, England)In common: Scanpy, statsmodels, PyTorch, 6 other tools, 4 references
- [4] doi:10.1093/nar/gkag706 [code]
- scDifformer: diffusion-based post-training for virtual cell modeling across large-scale single-cell data.Journal: Nucleic acids researchIn common: Scanpy, scikit-image, statsmodels, 7 other tools, 3 references
- [5] doi:10.1371/journal.pcbi.1014571 [code]
- SynAPSeg: A novel dataset and image analysis framework for deep learning-based synapse detection and quantification.Journal: PLoS computational biologyIn common: Cellpose, tifffile, scikit-image, 8 other tools
- [6] doi:10.1038/s41467-026-74000-4 [code]
- ArchVelo: archetypal velocity modeling for single-cell multi-omic trajectories.Journal: Nature communicationsIn common: Scanpy, statsmodels, seaborn, 5 other tools, cellular / molecular, 3 references
- [7] doi:10.1093/bioinformatics/btag540 [code]
- Deciphering spatial heterogeneity by multimodal spatial transcriptomics modelling with SpatialModal.Journal: Bioinformatics (Oxford, England)In common: Scanpy, PyTorch, seaborn, 5 other tools, 3 references
- [8] doi:10.1016/j.isci.2026.116055 [code]
- Mapping the transcriptional diversity of calcium signaling in the mouse and human brain.Journal: iScienceIn common: Scanpy, statsmodels, PyTorch, 6 other tools, 2 references
- [9] doi:10.7554/elife.106347 [code]
- Esr1-dependent signaling and transcriptional maturation in the medial preoptic area of the hypothalamus shape the development of mating behavior during adolescence.Journal: eLifeIn common: Scanpy, seaborn, scikit-learn, 4 other tools, 4 references
- [10] doi:10.1038/s42003-026-10063-9 [code]
- Conserved Kir channel mechanisms governing intrinsic excitability in human and rodent parvalbumin neurons.Journal: Communications biologyIn common: Cellpose, tifffile, scikit-image, 6 other tools, cellular / molecular
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 3 repositories of the authors' code, each at its verified commit and with its license, 42 scripts, and 9 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:2a549299aeb753c9…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
