Browse code

remove example in plotDimReduceGrid

zhewa authored on 24/04/2019 04:28:56
Showing 3 changed files

... ...
@@ -1,6 +1,6 @@
1 1
 Package: celda
2 2
 Title: CEllular Latent Dirichlet Allocation
3
-Version: 0.99.35
3
+Version: 0.99.36
4 4
 Authors@R: c(person("Joshua", "Campbell", email = "camp@bu.edu", role = c("aut", "cre")),
5 5
              person("Sean", "Corbett", email = "scorbett@bu.edu", role = c("aut")),
6 6
 	     person("Yusuke", "Koga", email="ykoga07@bu.edu", role = c("aut")),
... ...
@@ -20,20 +20,6 @@
20 20
 #'   Default 'blue'.
21 21
 #' @param varLabel Character vector. Title for the color legend.
22 22
 #' @return The plot as a ggplot object
23
-#' @examples
24
-#' data(celdaCGSim, celdaCGMod)
25
-#' celdaTsne <- celdaTsne(counts = celdaCGSim$counts,
26
-#'     celdaMod = celdaCGMod)
27
-#' plotDimReduceGrid(celdaTsne[, 1],
28
-#'     celdaTsne[, 2],
29
-#'     matrix = celdaCGSim$counts,
30
-#'     xlab = "Dimension1",
31
-#'     ylab = "Dimension2",
32
-#'     varLabel = "tsne",
33
-#'     size = 1,
34
-#'     colorLow = "grey",
35
-#'     colorMid = NULL,
36
-#'     colorHigh = "blue")
37 23
 #' @importFrom reshape2 melt
38 24
 #' @export
39 25
 plotDimReduceGrid <- function(dim1,
... ...
@@ -43,18 +43,3 @@ The plot as a ggplot object
43 43
 Creates a scatterplot given two dimensions from a data
44 44
  dimensionality reduction tool (e.g tSNE) output.
45 45
 }
46
-\examples{
47
-data(celdaCGSim, celdaCGMod)
48
-celdaTsne <- celdaTsne(counts = celdaCGSim$counts,
49
-    celdaMod = celdaCGMod)
50
-plotDimReduceGrid(celdaTsne[, 1],
51
-    celdaTsne[, 2],
52
-    matrix = celdaCGSim$counts,
53
-    xlab = "Dimension1",
54
-    ylab = "Dimension2",
55
-    varLabel = "tsne",
56
-    size = 1,
57
-    colorLow = "grey",
58
-    colorMid = NULL,
59
-    colorHigh = "blue")
60
-}