diff --git a/NAMESPACE b/NAMESPACE index bfe307935927ea7a881ad48f3065b32d2dad3a0c..484c11a96af070e35733e807df0f1da8c84aeb00 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 a1d8b840f63f5dd041b88b69c8dff3f7e6eddbc5..ee93ff9bec493e9848240de41bcbd264bf0d4ae0 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) {