-
Notifications
You must be signed in to change notification settings - Fork 42
/
supplementary.Rmd
56 lines (44 loc) · 1.08 KB
/
supplementary.Rmd
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
---
title: "Supplementary material for: \nA comparison of single-cell trajectory inference methods"
output:
dynbenchmark::pdf_supplementary_note:
render_change: FALSE
---
```{r setup, include=FALSE}
library(dynbenchmark)
library(tidyverse)
```
```{r}
supplementary <- read_rds("supplementary.rds")
sfigs <- supplementary$sfigs
stables <- supplementary$stables
refs <- supplementary$refs
```
# Supplementary figures
```{r, results="asis"}
sfigs %>%
left_join(refs %>% select(ref_id, name), "ref_id") %>%
arrange(name) %>%
select(-name) %>%
pmap(dynbenchmark:::plot_fig) %>% modify(paste0, "\n\n") %>% walk(cat)
```
\clearpage
# Supplementary tables
```{r, results="asis"}
stables %>%
left_join(refs %>% select(ref_id, name), "ref_id") %>%
arrange(name) %>%
select(-name) %>%
pmap(dynbenchmark:::show_table) %>% modify(paste0, "\n\n") %>% walk(cat)
```
\clearpage
# Supplementary note 1
```{r}
dynbenchmark::knit_nest("../results/02-metrics/")
```
\clearpage
# Supplementary note 2
```{r}
dynbenchmark::knit_nest("../results/01-datasets/02-synthetic/")
```
\clearpage