Skip to content
Toy synthetic data for testing and prototyping trajectory inference methods 🎲
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
R fix imports May 17, 2019
data-raw update data Aug 3, 2018
data fix toy datasets Sep 24, 2018
inst improve velocity estimation Apr 16, 2019
man add velocity Apr 18, 2019
tests fix model passing Aug 3, 2018
.Rbuildignore add readme Jun 25, 2018
.gitignore add tmp* to ignore Aug 3, 2018
.travis.yml install dynverse Apr 18, 2019
DESCRIPTION Merge branch 'master' of May 17, 2019
NAMESPACE fix imports May 17, 2019
README.Rmd improve velocity estimation Apr 16, 2019 improve velocity estimation Apr 16, 2019
dyntoy.Rproj created dyntoy Sep 15, 2017


dyntoy simulates single-cell expression data in which a single-cell trajectory is present. Even though the model to generate the data is very simplistic (and far from realistic), it can simulate very complex trajectory models, such as large trees, convergences and loops.

As the data is relatively easy, it can be used to quickly test and prototype a TI method. However, for more realistic synthetic data, check out our dyngen package.


Install using devtools:

# install.packages("devtools")


dyntoy contains some pre-generated toy data within the toy_datasets data object:

data("toy_datasets", package = "dyntoy")

Data can be generated using generate_dataset:

dataset <- generate_dataset(
  model = model_bifurcating(),
  num_cells = 1000,
  num_features = 1000

#> # A tibble: 3 x 4
#>   from  to    length directed
#>   <chr> <chr>  <dbl> <lgl>   
#> 1 M3    M4    0.191  TRUE    
#> 2 M1    M3    0.417  TRUE    
#> 3 M3    M2    0.0432 TRUE

Related work

Latest changes

Check out news(package = "dynwrap") or for a full list of changes.

Recent changes in dyntoy 1.0.0 (unreleased)

  • Initial release of dyntoy

  • Generates simple toy datasets containg trajectories, with expression, RNA velocity, differentially expressed features

Dynverse dependencies

You can’t perform that action at this time.