getGEO_and_folder_in: Download item from the GEO database

Description Usage Arguments Value Examples

View source: R/getGEO_and_folder_in.R

Description

Downloads metadata (and data) for GEO records specified in x.

Usage

1

Arguments

x

GEO record ID

download

boolean flag indicating whether to download the data (TRUE) or just the metadata (FALSE)

Value

Data frame with metadata

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#library(GEOquery)

#gse <- getGEO("GSE19247",GSEMatrix = TRUE)

#samplelist_sperm=as.data.frame(gse$`GSE19247-GPL6985_series_matrix.txt.gz`) %>% 
#  filter((str_detect(cell.type.ch1,'sperm')) & str_detect(cell.amplication.ch1,'MDA')) %>%
#  rownames()  

#metadf_sperm=map_if(samplelist_sperm,function(x) !is.null(x),
#                   function(x) getGEO_and_folder_in(x,download=TRUE))
#metadf_sperm_merged = Reduce(function(...) merge(..., all=T), metadf_sperm)

Meiomap/SureTypeSCR documentation built on Dec. 17, 2021, 3:22 a.m.