Skip to content

TrajectoryNet: A Dynamic Optimal Transport Network for Modeling Cellular Dynamics

License

Notifications You must be signed in to change notification settings

preetida/TrajectoryNet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pytorch Implementation of TrajectoryNet

This library runs code associated with the TrajectoryNet paper

Installation

Download code

git clone http://github.com/krishanswamylab/TrajectoryNet.git

Install required packages

pip install -r requirements.txt

This code was tested with python 3.8

Example

EB PHATE Scatterplot Trajectory of density over time

Basic Usage

Run with

python main.py --dataset EB

To use a custom dataset expose the coordinates and timepoint information according to the SCData class in dataset.py

References

[1] Tong, A., Huang, J., Wolf, G., van Dijk, D., and Krishnaswamy, S. TrajectoryNet: A Dynamic Optimal Transport Network for Modeling Cellular Dynamics. In International Conference on Machine Learning, 2020. [arxiv]


If you found this library useful, please consider citing

@inproceedings{tong2020trajectorynet,
  title = {TrajectoryNet: A Dynamic Optimal Transport Network for Modeling Cellular Dynamics},
  shorttitle = {{{TrajectoryNet}}},
  booktitle = {Proceedings of the 37th International Conference on Machine Learning},
  author = {Tong, Alexander and Huang, Jessie and Wolf, Guy and {van Dijk}, David and Krishnaswamy, Smita},
  year = {2020}
}

About

TrajectoryNet: A Dynamic Optimal Transport Network for Modeling Cellular Dynamics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%