Browse code

Add `@usage` to data doc

Gets rid of a R CMD Check Warning

Milan Malfait authored on 21/09/2022 14:19:12
Showing 3 changed files

... ...
@@ -6,6 +6,7 @@
6 6
 #' <https://github.com/Teichlab/SpatialDE/blob/master/Analysis/MouseOB/data/Rep11_MOB_0.csv>.
7 7
 #'
8 8
 #' @format A matrix with 16218 genes as rows and 262 spots as columns.
9
+#' @usage data(Rep11_MOB_0)
9 10
 #'
10 11
 #' @references
11 12
 #' Ståhl, P. L. et al. (2016) 'Visualization and analysis of gene expression in
... ...
@@ -23,6 +24,7 @@
23 24
 #' @format A `data.frame` with 262 rows and 3 variables as columns: the `x` and
24 25
 #'   `y` coordinates and `total_counts` corresponding to each spot.
25 26
 #'
27
+#' @usage data(MOB_sample_info)
26 28
 #' @references
27 29
 #' Ståhl, P. L. et al. (2016) 'Visualization and analysis of gene expression in
28 30
 #' tissue sections by spatial transcriptomics', \emph{Science}, 353(6294), p.
... ...
@@ -9,7 +9,7 @@ A \code{data.frame} with 262 rows and 3 variables as columns: the \code{x} and
9 9
 \code{y} coordinates and \code{total_counts} corresponding to each spot.
10 10
 }
11 11
 \usage{
12
-MOB_sample_info
12
+data(MOB_sample_info)
13 13
 }
14 14
 \description{
15 15
 Coordinates and total counts for the samples from the Mouse Olfactory Bulb
... ...
@@ -8,7 +8,7 @@
8 8
 A matrix with 16218 genes as rows and 262 spots as columns.
9 9
 }
10 10
 \usage{
11
-Rep11_MOB_0
11
+data(Rep11_MOB_0)
12 12
 }
13 13
 \description{
14 14
 Replicate 11 from the spatially dependent gene expression data from the mouse