Browse code

Update citation with Bioc info

Milan Malfait authored on 30/08/2021 07:27:27
Showing 1 changed files
... ...
@@ -1,7 +1,22 @@
1
-# TODO: update once pkg on BioC
1
+pkgVer <- function(pkg) {
2
+    if (!exists("meta") || is.null(meta)) meta <- packageDescription(pkg)
3
+    ver <- meta$Version
4
+    paste0('R package version ', ver)
5
+}
2 6
 
3 7
 c(
4
-    citation(auto = meta),
8
+    bibentry(bibtype="manual",
9
+        title = "spatialDE: R wrapper for SpatialDE",
10
+        author = personList(
11
+            as.person("Davide Corso"),
12
+            as.person("Milan Malfait"),
13
+            as.person("Lambda Moses")
14
+        ),
15
+        year = format(Sys.Date(), "%Y"),
16
+        url = "http://www.bioconductor.org/packages/spatialDE",
17
+        note = pkgVer('spatialDE'),
18
+        doi = '10.18129/B9.bioc.spatialDE'
19
+    ),
5 20
     bibentry(bibtype="article",
6 21
         Title = "SpatialDE: identification of spatially variable genes",
7 22
         Author = personList(
Browse code

Add citation to original SpatialDE paper

Milan Malfait authored on 17/02/2021 11:48:10
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
1
+# TODO: update once pkg on BioC
2
+
3
+c(
4
+    citation(auto = meta),
5
+    bibentry(bibtype="article",
6
+        Title = "SpatialDE: identification of spatially variable genes",
7
+        Author = personList(
8
+            as.person("Valentine Svensson"),
9
+            as.person("Sarah A. Teichmann"),
10
+            as.person("Oliver Stegle")
11
+        ),
12
+        Copyright = "2018 Nature Publishing Group, a division of Macmillan Publishers Limited. All Rights Reserved.",
13
+        Year = "2018",
14
+        Journal = "Nature Methods",
15
+        Volume = "15",
16
+        Pages = "343--346",
17
+        Number = "5",
18
+        Doi = "10.1038/nmeth.4636",
19
+        Issn = "1548-7105",
20
+        Url = "https://www.nature.com/articles/nmeth.4636"
21
+    )
22
+)