Skip to content

Commit

Permalink
Changed color scheme for batch detection plots back to default
Browse files Browse the repository at this point in the history
  • Loading branch information
Vera N. Karlbauer committed Nov 4, 2023
1 parent b154f07 commit 7a5fffb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions scripts/10_correction_batch_effects_unfiltered.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ if (correction_variable_1 == "PLEASE FILL IN"){
technical_batch_plots[[i]] <- PCs %>%
ggplot(aes(x = PC1, y = PC2)) +
geom_point(aes(color = .data[[i]], fill = .data[[i]])) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down Expand Up @@ -301,7 +300,6 @@ if (correction_variable_2 == "PLEASE FILL IN"){
technical_batch_plots[[i]] <- PCs %>%
ggplot(aes(x = PC1, y = PC2)) +
geom_point(aes(color = .data[[i]], fill = .data[[i]])) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down Expand Up @@ -461,7 +459,6 @@ if (correction_variable_3 == "PLEASE FILL IN"){
technical_batch_plots[[i]] <- PCs %>%
ggplot(aes(x = PC1, y = PC2)) +
geom_point(aes(color = .data[[i]], fill = .data[[i]])) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down
4 changes: 0 additions & 4 deletions scripts/8_removal_of_outliers_detect_batch_effects.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ for (i in technical_batch_variables){
size = 3, box.padding = unit(0.35, "lines"),
segment.colour = "black",
point.padding = unit(0.3, "lines")) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down Expand Up @@ -332,7 +331,6 @@ if(!identical(extreme_outliers_filtered %>% pull(personid),character(0))){
size = 3, box.padding = unit(0.35, "lines"),
segment.colour = "black",
point.padding = unit(0.3, "lines")) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down Expand Up @@ -546,7 +544,6 @@ for (i in technical_batch_variables){
size = 3, box.padding = unit(0.35, "lines"),
segment.colour = "black",
point.padding = unit(0.3, "lines")) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down Expand Up @@ -681,7 +678,6 @@ if(!identical(extreme_outliers_unfiltered %>% pull(personid),character(0))){
size = 3, box.padding = unit(0.35, "lines"),
segment.colour = "black",
point.padding = unit(0.3, "lines")) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down
3 changes: 0 additions & 3 deletions scripts/9_correction_batch_effects_filtered.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ if (correction_variable_1 == "PLEASE FILL IN"){
technical_batch_plots[[i]] <- PCs %>%
ggplot(aes(x = PC1, y = PC2)) +
geom_point(aes(color = .data[[i]], fill = .data[[i]])) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down Expand Up @@ -311,7 +310,6 @@ if (correction_variable_2 == "PLEASE FILL IN"){
technical_batch_plots[[i]] <- PCs %>%
ggplot(aes(x = PC1, y = PC2)) +
geom_point(aes(color = .data[[i]], fill = .data[[i]])) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down Expand Up @@ -471,7 +469,6 @@ if (correction_variable_3 == "PLEASE FILL IN"){
technical_batch_plots[[i]] <- PCs %>%
ggplot(aes(x = PC1, y = PC2)) +
geom_point(aes(color = .data[[i]], fill = .data[[i]])) +
scale_colour_brewer(palette = "Dark2") +
ggtitle(i) + theme(legend.title = element_blank())
print(technical_batch_plots[[i]])
}
Expand Down

0 comments on commit 7a5fffb

Please sign in to comment.