diff --git a/DESCRIPTION b/DESCRIPTION index c5cb6e8..8dac9c7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -11,7 +11,6 @@ Author: Raivo Kolde Maintainer: Raivo Kolde Depends: R (>= 2.15), - ggplot2, Rcpp Imports: plyr, @@ -19,6 +18,7 @@ Imports: gProfileR, reshape2, limma, + ggplot2, gtable Suggests: vegan diff --git a/NAMESPACE b/NAMESPACE index 6206169..863ab90 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -27,6 +27,7 @@ import(gtable) import(limma) import(plyr) import(reshape2) +importFrom(ggplot2,aes) importFrom(ggplot2,coord_flip) importFrom(ggplot2,geom_bar) importFrom(ggplot2,geom_boxplot) @@ -35,7 +36,9 @@ importFrom(ggplot2,ggplot) importFrom(ggplot2,ggplot_build) importFrom(ggplot2,ggplot_gtable) importFrom(ggplot2,layer) +importFrom(ggplot2,position_identity) importFrom(ggplot2,qplot) +importFrom(ggplot2,scale_fill_brewer) importFrom(ggplot2,scale_fill_discrete) importFrom(ggplot2,scale_fill_manual) importFrom(ggplot2,scale_x_continuous) diff --git a/R/GOsummaries-package.R b/R/GOsummaries-package.R index b4849b0..51fdd59 100644 --- a/R/GOsummaries-package.R +++ b/R/GOsummaries-package.R @@ -48,6 +48,9 @@ #' @importFrom ggplot2 scale_y_continuous #' @importFrom ggplot2 theme #' @importFrom ggplot2 theme_bw +#' @importFrom ggplot2 aes +#' @importFrom ggplot2 position_identity +#' @importFrom ggplot2 scale_fill_brewer #' #' @useDynLib GOsummaries #' diff --git a/vignettes/GOsummaries-basics.Rnw b/vignettes/GOsummaries-basics.Rnw index b1f1fa2..a491751 100644 --- a/vignettes/GOsummaries-basics.Rnw +++ b/vignettes/GOsummaries-basics.Rnw @@ -18,6 +18,7 @@ BiocStyle::latex() <>= library(GOsummaries, quietly=TRUE) library(vegan, quietly=TRUE) +library(ggplot2, quietly=TRUE) @ \title{GOsummaries basics}