getSRAdbFile | R Documentation |
This function is the standard method for downloading and unzipping the most recent SRAmetadb SQLite file from the server.
getSRAdbFile(destdir = getwd(), destfile = "SRAmetadb.sqlite.gz", method)
destdir |
The destination directory of the downloaded file |
destfile |
The filename of the downloaded file. This filename should end in ".gz" as the unzipping assumes that is the case |
method |
Character vector of length 1, passed to the identically
named argument of |
Prints some diagnostic information to the screen.
Returns the local filename for use later.
Jack Zhu <zhujack@mail.nih.gov>, Sean Davis <sdavis2@mail.nih.gov>
## the SRAmetadb demo database can be used to test sra_dbname <- file.path(system.file('extdata', package='SRAdb'), 'SRAmetadb_demo.sqlite') ## Not run: geometadbfile <- getSRAdbFile() ## Direct links for downloading the SRAmetadb sqlite database: https://s3.amazonaws.com/starbuck1/sradb/SRAmetadb.sqlite.gz https://gbnci-abcc.ncifcrf.gov/backup/SRAmetadb.sqlite.gz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.