Skip to content

Commit 0aab4ab

Browse files
committed
slight error and plot size adjustments
1 parent bfa68f5 commit 0aab4ab

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

manuscript/figure3CellLinePlots.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ We wonder if the dataset size affects the predictive power.
6363
6464
plot <- calcSourceStatistics('scc',ccdres)
6565
66-
ggsave('cellLineSamplePerformanceCorrelation.pdf', plot,height=12)
66+
ggsave('cellLineSamplePerformanceCorrelation.pdf', plot,height=12,width=5)
6767
6868
```
6969

manuscript/figure4ExVivoResults.Rmd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ The data has been uploaded by natasha and can be downloaded as follows.
3434

3535

3636
```{r}
37+
metrics <- c('scc','pcc')
3738
exres = lapply(metrics,function(x) {
38-
ridgelineMetricPlots(x, ecdres,'cellline')
39+
res<-ridgelineMetricPlots(x, ecdres,'cellline')
40+
cowplot::plot_grid(res$src,res$trg)
41+
ggsave(paste0('exvivo',x,'_ridglines.pdf'),height = 8,width = 10)
42+
return(res$src)
3943
})
4044
4145
print(exres)
@@ -49,7 +53,7 @@ Now we can confirm that the datasets follow the same pattern.
4953
plot<-calcSourceStatistics('scc',ecdres)
5054
5155
52-
ggsave('exVivoSamplePerformanceCorrelation.pdf',plot, height=12)
56+
ggsave('exVivoSamplePerformanceCorrelation.pdf',plot, height=12,width=5)
5357
print(plot)
5458
5559
```

0 commit comments

Comments
 (0)