Skip to content

Commit bfa68f5

Browse files
committed
slight updates to figures
1 parent add5b21 commit bfa68f5

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

manuscript/coderdataResultsFunctions.R

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,12 @@ calcSourceStatistics<-function(metric, dataset=cdres){
138138
left_join(stats) |>
139139
arrange(meanVal)
140140

141-
mom <- gres|> group_by(src,Combos)|> summarize(mv = mean(meanVal))|> arrange(mv)
141+
# mom <- gres|>
142+
# group_by(src,Combos)|>
143+
# summarize(mv = mean(meanVal))|>
144+
# arrange(mv)
142145

143-
#gres <- subset(gres,met=='scc')
144-
gres$src = factor(gres$src,levels = unique(mom$src))
146+
# gres$src = factor(gres$src,levels = unique(mom$src))
145147

146148
p1 <- ggplot(gres, aes(x=Samples, y = meanVal,col=model))+
147149
geom_point()+scale_x_log10()+scale_color_manual(values=modelcolors)+geom_smooth(method=lm, alpha=0.2)+theme_bw()
@@ -161,7 +163,7 @@ calcSourceStatistics<-function(metric, dataset=cdres){
161163
p4 <- ggplot(corvals, aes(x=statistic,y=correlation,fill=model)) + geom_bar(position='dodge',stat='identity') +
162164
scale_fill_manual(values=modelcolors) + theme_bw()
163165

164-
return(cowplot::plot_grid(p1,p2,p3,p4,nrow=2))
166+
return(cowplot::plot_grid(p1,p2,p3,p4,nrow=4))
165167
}
166168

167169
##do we still need this function?

manuscript/figure4ExVivoResults.Rmd

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ date: "2025-06-02"
55
output: html_document
66
---
77

8-
```{r setup, include=FALSE}
9-
knitr::opts_chunk$set(echo = TRUE)
10-
```
11-
12-
Here we are focused on getting the details from a model prediction algorithm - where did it fail, where did it succeed?
8+
This figure focuses on the ex vivo results
139

1410
## Data and packages
1511

@@ -39,7 +35,7 @@ The data has been uploaded by natasha and can be downloaded as follows.
3935

4036
```{r}
4137
exres = lapply(metrics,function(x) {
42-
doFullPlot(x, ecdres,'cellline')
38+
ridgelineMetricPlots(x, ecdres,'cellline')
4339
})
4440
4541
print(exres)
@@ -54,6 +50,7 @@ plot<-calcSourceStatistics('scc',ecdres)
5450
5551
5652
ggsave('exVivoSamplePerformanceCorrelation.pdf',plot, height=12)
53+
print(plot)
5754
5855
```
5956

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy