Learn R Programming

GREP2 (version 1.0.2)

get_metadata: Download metadata from GEO and SRA

Description

Download metadata from GEO and SRA

Usage

get_metadata(geo_series_acc, destdir, geo_only = FALSE,
  download_method = "auto")

Arguments

geo_series_acc

GEO series accession ID.

destdir

directory where the metadata files will be saved.

geo_only

logical, whether to download GEO metadata only. Default is FALSE. If TRUE, then SRA metadata will not be downloaded.

download_method

download method for GEOquery. See 'download.file' from R package utils for details. Default is 'libcurl'.

Value

a list of GEO and SRA metadata.

Examples

Run this code
# NOT RUN {
get_metadata(geo_series_acc="GSE102170",destdir=tempdir(),
geo_only=TRUE,download_method="auto")

# }

Run the code above in your browser using DataLab