We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a0868 commit b3f6eb4Copy full SHA for b3f6eb4
inst/prototype/GEO.r
@@ -7,12 +7,13 @@ get_gse <- function(gseID) {
7
GEOquery::getGEO(filename = gsesoft)
8
}
9
10
-get_gsm <- function(gse) {
11
- lapply(GEOquery::GSMList(gse), function(x) x@header$supplementary_file)
+get_gsm <- function(gse, item = "supplementary_file_1") {
+ lapply(GEOquery::GSMList(gse), function(x) x@header[item])
12
13
14
15
16
+
17
download_gsm <- function(gsm) {
18
for (x in gsm) {
19
destfile <- sub(".*/([^/]+)$", "\\1", x)
@@ -23,7 +24,10 @@ download_gsm <- function(gsm) {
23
24
gseID <- "GSE123904"
25
26
gse <- get_gse(gseID)
27
28
gsm <- get_gsm(gse)
29
30
+get_gsm(gse, 'extract_protocol_ch1') |> head(2)
31
32
download_gsm(gsm)
33
0 commit comments