diff --git a/NAMESPACE b/NAMESPACE index 21a15d6add6b761beeb1177a7086d029e11c8c25..bfe307935927ea7a881ad48f3065b32d2dad3a0c 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -66,6 +66,7 @@ importFrom(GenomicRanges,GRanges) importFrom(IRanges,ranges) importFrom(ape,as.DNAbin) importFrom(cowplot,get_legend) +importFrom(cowplot,ggdraw) importFrom(cowplot,plot_grid) importFrom(ggdendro,dendro_data) importFrom(ggdendro,segment) diff --git a/R/combine_cluster_plots_and_save.R b/R/combine_cluster_plots_and_save.R index afeb5e8f236bd254920972da058ae0c9e9a942c9..a1d8b840f63f5dd041b88b69c8dff3f7e6eddbc5 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 +#' @importFrom cowplot get_legend plot_grid ggdraw #' @export combine_cluster_plots_and_save <- function(plot_list, cluster, out_path = path, w = cm_width, h = cm_height) {