get_geo_meta: Get the metadata of multiple GEO identities

View source: R/get_geo_meta.R

get_geo_metaR Documentation

Get the metadata of multiple GEO identities

Description

This is useful to combine with search_geo() and filter results since search_geo() cannot get all long metadata of GEO identities.

Usage

get_geo_meta(
  ids,
  dest_dir = getwd(),
  ftp_over_https = TRUE,
  handle_opts = list(connecttimeout = 60L)
)

Arguments

ids

A character vector representing the GEO entity for downloading and parsing. All ids must in the same GEO identity (c("GDS505", "GDS606") are all GEO DataSets, c("GSE2", "GSE22") are all GEO series eg.).

dest_dir

The destination directory for any downloads. Defaults to current working dir.

ftp_over_https

A scalar logical value indicates whether to connect GEO FTP site with https traffic. If TRUE, will download FTP files from https://ftp.ncbi.nlm.nih.gov/geo, which is used by GEOquery, otherwise, will use ftp://ftp.ncbi.nlm.nih.gov/geo directly.

handle_opts

A list of named options / headers to be set in the handle.

Value

A data.table contains metadata of all ids.


Yunuuuu/rgeo documentation built on Dec. 23, 2024, 10:01 p.m.