Skip to content
Snippets Groups Projects
Commit b2eb26b1 authored by Simeon's avatar Simeon
Browse files

Update combine_cluster_plots_and_save.R

parent 436d3e87
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,6 @@ combine_cluster_plots_and_save <- function(plot_list, cluster, out_path = path, ...@@ -24,6 +24,6 @@ combine_cluster_plots_and_save <- function(plot_list, cluster, out_path = path,
ncol = 1, rel_heights = c(1, .1)) + ncol = 1, rel_heights = c(1, .1)) +
ggtitle(paste("Cluster:", cluster)) ggtitle(paste("Cluster:", cluster))
ggsave(file.path(out_path, paste0("Cluster_overview_", cluster, ".pdf")), ggsave(file.path(out_path, paste0("Cluster_overview_", cluster, ".pdf")),
combo_pl, width = w, height = h, units = "cm") combo_pl_with_legend, width = w, height = h, units = "cm")
return(combo_pl) return(combo_pl_with_legend)
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment