get_metadata: Download metadata from GEO and SRA

Description Usage Arguments Value Examples

View source: R/get_metadata.R

Description

Download metadata from GEO and SRA

Usage

1
2
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

1
2
get_metadata(geo_series_acc="GSE102170",destdir=tempdir(),
geo_only=TRUE,download_method="auto")

uc-bd2k/GREP2 documentation built on Oct. 29, 2019, 5:15 a.m.