Browse code

add imports to Rcpp, RcppEigen, gridExtra

87875172 authored on 19/03/2019 20:10:28
Showing 3 changed files

... ...
@@ -78,11 +78,14 @@ exportMethods(resList)
78 78
 exportMethods(runParams)
79 79
 exportMethods(sampleLabel)
80 80
 import(RColorBrewer)
81
+import(Rcpp)
82
+import(RcppEigen)
81 83
 import(data.table)
82 84
 import(foreach)
83 85
 import(grDevices)
84 86
 import(graphics)
85 87
 import(grid)
88
+import(gridExtra)
86 89
 import(gtable)
87 90
 import(matrixStats, except = c(count))
88 91
 import(plyr)
... ...
@@ -23,6 +23,7 @@
23 23
 #' @examples
24 24
 #' celda.mod = celda_C(celda.C.sim$counts, K=celda.C.sim$K, 
25 25
 #'                     sample.label=celda.C.sim$sample.label)
26
+#' @import Rcpp RcppEigen
26 27
 #' @export
27 28
 celda_C = function(counts, sample.label=NULL, K, alpha=1, beta=1,
28 29
   					        algorithm = c("EM", "Gibbs"), 
... ...
@@ -29,6 +29,7 @@
29 29
 #' @examples
30 30
 #' celda.mod = celda_CG(celda.CG.sim$counts, K=celda.CG.sim$K, L=celda.CG.sim$L,
31 31
 #'                      sample.label=celda.CG.sim$sample.label, nchains=1)
32
+#' @import Rcpp RcppEigen
32 33
 #' @export
33 34
 celda_CG = function(counts, sample.label=NULL, K, L,
34 35
                     alpha=1, beta=1, delta=1, gamma=1, 
... ...
@@ -863,6 +864,7 @@ prepareCountsForDimReduction.celda_CG =  function(counts, celda.mod, max.cells=2
863 864
 #' @examples
864 865
 #' celdaProbabilityMap(celda.CG.sim$counts, celda.CG.mod)
865 866
 #' @return A grob containing the specified plots
867
+#' @import gridExtra
866 868
 #' @seealso `celda_CG()` for clustering features and cells
867 869
 #' @export 
868 870
 setMethod("celdaProbabilityMap",