Skip to content
Snippets Groups Projects
Commit e8bcaae9 authored by Sascha Meiers's avatar Sascha Meiers
Browse files

Add more info in plot titles

parent 2b6b6b06
No related branches found
No related tags found
No related merge requests found
......@@ -311,7 +311,9 @@ while (i <= n_cells) {
strip.background = element_rect(color = "#eeeeee", fill = "#eeeeee"),
strip.text = element_text(size = 5),
legend.position = "bottom") +
ggtitle(paste("data:", basename(f_counts), "chromosome:", CHROM))
ggtitle(paste0("data: ", basename(f_counts),
ifelse(!is.null(f_segments), paste0(" / ", basename(f_segments)), ""),
", chromosome: ", CHROM, ", scale: [", -y_lim, ",", y_lim, "]"))
print(plt)
i = i + cells_per_page
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment