From 139a470be0b1762cfeebec55c6c388b4ed6d9ceb Mon Sep 17 00:00:00 2001 From: Simeon <51403284+simeross@users.noreply.github.com> Date: Fri, 27 Oct 2023 14:48:00 +0200 Subject: [PATCH] as last --- NAMESPACE | 1 + R/combine_cluster_plots_and_save.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index bfe3079..484c11a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -65,6 +65,7 @@ importFrom(DECIPHER,DistanceMatrix) importFrom(GenomicRanges,GRanges) importFrom(IRanges,ranges) importFrom(ape,as.DNAbin) +importFrom(cowplot,draw_label) importFrom(cowplot,get_legend) importFrom(cowplot,ggdraw) importFrom(cowplot,plot_grid) diff --git a/R/combine_cluster_plots_and_save.R b/R/combine_cluster_plots_and_save.R index a1d8b84..ee93ff9 100644 --- a/R/combine_cluster_plots_and_save.R +++ b/R/combine_cluster_plots_and_save.R @@ -12,7 +12,7 @@ #' @param h The height of the plot. Default is 'cm_height'. #' @return combined plot #' @import ggplot2 -#' @importFrom cowplot get_legend plot_grid ggdraw +#' @importFrom cowplot get_legend plot_grid ggdraw draw_label #' @export combine_cluster_plots_and_save <- function(plot_list, cluster, out_path = path, w = cm_width, h = cm_height) { -- GitLab