-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.Rmd
More file actions
70 lines (49 loc) · 1.8 KB
/
Copy pathREADME.Rmd
File metadata and controls
70 lines (49 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# dyntoy
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](https://github.com/dynverse/dynmethods). However, for more realistic synthetic data, check out our [dyngen package](https://github.com/dynverse/dyngen).
## Installation
Install using devtools:
```{r, eval = FALSE}
# install.packages("devtools")
devtools::install_github("dynverse/dyntoy")
```
## Example
dyntoy contains some pre-generated toy data within the `toy_datasets` data object:
```{r}
data("toy_datasets", package = "dyntoy")
```
Data can be generated using `generate_dataset`:
```{r}
library(dyntoy)
dataset <- generate_dataset(
model = model_bifurcating(),
num_cells = 1000,
num_features = 1000
)
dataset$milestone_network
```
## Related work
- PROSSTT: https://github.com/soedinglab/prosstt
- Splatter: https://github.com/Oshlack/splatter
## Latest changes
Check out `news(package = "dyntoy")` or [NEWS.md](inst/NEWS.md) for a full list of changes.
<!-- This section gets automatically generated from inst/NEWS.md, and also generates inst/NEWS -->
```{r news, echo=FALSE, results="asis"}
dynutils::update_news()
cat(dynutils::recent_news())
```
## Dynverse dependencies
<!-- Generated by "update_dependency_graphs.R" in the main dynverse repo -->
