Skip to content
Snippets Groups Projects
Commit 1dc996e1 authored by Gervaise Henry's avatar Gervaise Henry 🤠
Browse files

Fix boxplot pdf output, remove legend

parent 9a0c9890
2 merge requests!21Develop,!20Develop
Pipeline #3987 passed with stages
in 30 seconds
......@@ -332,7 +332,8 @@ shinyServer(
theme(panel.grid.major = element_blank(), panel.grid.minor = element_blank(),
panel.background = element_blank(), axis.line = element_line(colour = "black"))
#cat("printing",gene,"\n")
print(p + facet_wrap( ~ cancer, scales="free") + ggtitle(gene) + theme(plot.title = element_text(hjust = 0.5)))
p <- p + facet_wrap( ~ cancer, scales="free") + ggtitle(gene) + theme(plot.title = element_text(hjust = 0.5))
print(p)
#incProgress(1/n, detail = paste0("printing plot!"))
}
}
......@@ -507,11 +508,10 @@ shinyServer(
content = function(file) {
#ggsave(file = file, plot = plotInput(), device = "pdf")
pdf(file, onefile=FALSE)
plotInput()
print(plotInput() + theme(legend.position = "none"))
dev.off()
}
)
}
)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment