Description Usage Arguments Details Value Author(s) Examples
View source: R/getGEOSuppFiles.R
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.
1 | getGEOSuppFiles(GEO, makeDirectory = TRUE, baseDir = getwd())
|
GEO |
A GEO accession number such as GPL1073 or GSM1137 |
makeDirectory |
Should a "subdirectory" for the downloaded files be created? Default is TRUE. If FALSE, the files will be downloaded directly into the baseDir. |
baseDir |
The base directory for the downloads. Default is the current working directory. |
Again, just a note that the files are simply downloaded.
A data frame is returned invisibly with rownames representing the full path of the resulting downloaded files and the records in the data.frame the output of file.info for each downloaded file.
Sean Davis <sdavis2@mail.nih.gov>
1 2 | # a <- getGEOSuppFiles('GSM1137')
# a
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.