Description Usage Arguments Value References See Also Examples
Downloads metadata from SRA
1 | download.SRA.metadata(SRP, outdir, remove.invalid = TRUE)
|
SRP |
a string, a study ID as either the SRP, ERP, DRP or PRJ of the study, examples would be "SRP226389" or "ERP116106". |
outdir |
directory to save file, The file will be called "SraRunInfo_SRP.csv", where SRP is the SRP argument. The directory will be created if not existing. |
remove.invalid |
logical, default TRUE. Remove Runs with 0 reads (spots) |
a data.table of the opened file
doi: 10.1093/nar/gkq1019
Other sra:
download.SRA()
,
download.ebi()
,
install.sratoolkit()
,
rename.SRA.files()
1 2 3 4 5 | ## Originally on SRA
outdir <- tempdir() # Specify output directory
# download.SRA.metadata("SRP226389", outdir)
## ORiginally on ENA
# download.SRA.metadata("ERP116106", outdir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.