View source: R/get_geo_suppl.R
get_geo_suppl | R Documentation |
NCBI GEO allows supplemental files to be attached to GEO Series (GSE), GEO platforms (GPL), and GEO samples (GSM). This function 'knows' how to get these files based on the GEO accession. No parsing of the downloaded files is attempted, since the file format is not generally knowable by the computer.
get_geo_suppl(
ids,
dest_dir = getwd(),
pattern = NULL,
ftp_over_https = TRUE,
handle_opts = list(connecttimeout = 60L)
)
ids |
A character vector representing the GEO entity for downloading and
parsing. All ids must in the same GEO identity ( |
dest_dir |
The destination directory for any downloads. Defaults to current working dir. |
pattern |
character string containing a regular expression to be matched in the supplementary file names. |
ftp_over_https |
A scalar logical value indicates whether to connect GEO
FTP site with https traffic. If |
handle_opts |
A list of named options / headers to be set in the handle. |
A list (or a character atomic verctor if only one id
is provided)
of the full file paths of the resulting downloaded files.
a <- get_geo_suppl("GSM1137", tempdir())
a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.