Browse code

Added import gridExtra in DESCRIPTION

Former-commit-id: 277b5d9529b9c90896e529ba365cd6c60115cbb8

Zhe authored on 23/06/2017 02:44:04
Showing 2 changed files

... ...
@@ -24,7 +24,8 @@ Imports:
24 24
     gplots,
25 25
     doParallel,
26 26
     cluster,
27
-    digest
27
+    digest,
28
+    gridExtra
28 29
 Suggests:
29 30
     testthat,
30 31
     knitr,
... ...
@@ -119,6 +119,7 @@ celda_heatmap <- function(celda.mod, counts, ...) {
119 119
 #' @param celda.list A celda_list object as returned from *celda()*
120 120
 #' @param method Which performance metric to visualize. One of ("perplexity", "harmonic", "loglik"). "perplexity" calculates the inverse of the geometric mean of the log likelihoods from each iteration of Gibbs sampling. "harmonic" calculates the marginal likelihood has the harmonic mean of the likelihoods. "loglik" plots the highest log-likelihood during Gibbs iteration.
121 121
 #' @param title Title for the visualize_model_performance
122
+#' @param by For celda_CG objects. Group by number of cell clusters K or number of gene clusters L
122 123
 #' @return A ggplot object containing the requested plot(s)
123 124
 #' @export
124 125
 visualize_model_performance <- function(celda.list, method, title, by) {