Skip to content

Commit 7ef662f

Browse files
author
Giulio
committed
Fix docker
1 parent 4ad92c2 commit 7ef662f

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN conda install -y -c conda-forge -c bioconda \
1616
r-bench \
1717
r-picante \
1818
r-patchwork \
19-
biocmanager \
19+
r-biocmanager \
2020
bioconductor-philr \
2121
bioconductor-treesummarizedexperiment
2222

‎R/OMA_figure.R‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
# Add path to custom libraries (only for CSC)
2-
.libPaths(c("/projappl/project_2014893/project_rpackages_451", .libPaths()))
31

42
# Import libraries
53
if (!require("BiocManager")) {
6-
install("BiocManager")
4+
install.packages("BiocManager")
75
library("BiocManager")
86
}
97

108
pkgs <- c("patchwork", "tidyverse")
9+
1110
temp <- sapply(pkgs, function(pkg) {
1211
if (!require(pkg, character.only = TRUE)) {
1312
install(pkg)
@@ -16,7 +15,12 @@ temp <- sapply(pkgs, function(pkg) {
1615
})
1716

1817
# Define class names
19-
classes <- c(tse = "TreeSE", pseq = "phyloseq", spseq = "speedyseq")
18+
classes <- c(
19+
tse = "TreeSE",
20+
pseq = "phyloseq",
21+
spseq = "speedyseq",
22+
qiime = "qiime"
23+
)
2024

2125
# Define method names
2226
methods <- c(
@@ -78,7 +82,7 @@ p1 <- ggplot(df, aes(x = cols, y = Time, colour = object)) +
7882
scale_y_log10(labels = scientific_10) +
7983
scale_colour_manual(
8084
labels = classes,
81-
values = c("black", "darkgrey", "lightgrey")
85+
values = c("black", "darkgrey", "lightgrey", "red")
8286
) +
8387
facet_grid(rows ~ method, labeller = labeller(method = methods)) +
8488
labs(x = "# Samples", y = "Execution time (s)", colour = "Object") +
@@ -112,7 +116,7 @@ p2 <- ggplot(df, aes(x = cols, y = Memory, colour = object)) +
112116
axis.title = element_text(size = 15),
113117
axis.text = element_text(size = 12),
114118
# strip.text = element_blank()
115-
strip.background = element_blank(size = 15)
119+
strip.background = element_blank()
116120
)# +
117121
# guides(colour = "none")
118122

0 commit comments

Comments
 (0)