Browse code

Added importFrom in mock function

davidecrs authored on 30/01/2021 12:12:37
Showing 1 changed files

  • R/mock.R index 96c383d..cdfbf6a 100644
... ...
@@ -8,6 +8,7 @@
8 8
 #' * `coordinates`: `data.frame` with `x` and `y` columns;
9 9
 #' * `counts`: `matrix` with generated gene counts.
10 10
 #' @export
11
+#' @importFrom stats rnbinom runif
11 12
 mockSVG <- function(size, tot_genes, de_genes) {
12 13
   coordinates <- data.frame(
13 14
     x = rep(seq.int(size), size),