Description Usage Arguments Value See Also Examples
Queries and downloads GSM IDAT files in GEO Data Sets db, then returns the assay data as an "RGChannelSet", calling gds_idatquery() then minfi::read.metharray().
1 2 3 4 5 6 7 8 | gds_idat2rg(
gsmvi,
rmdl = TRUE,
ext = "gz",
dfp = "./idats/",
burl = paste0("ftp://ftp.ncbi.nlm.nih.gov/", "geo/samples/"),
silent = TRUE
)
|
gsmvi |
A vector of GSM IDs (alphanumeric character strings). |
rmdl |
Whether to remove downloaded IDAT files when finished (default TRUE). |
ext |
Extension for downloaded files (default "gz"). |
dfp |
Destination for IDAT downloads. |
burl |
Base URL string for the IDAT query (default "ftp://ftp.ncbi.nlm.nih.gov/geo/samples/"). |
silent |
Whether to suppress warnings on download removal (default TRUE). |
An RGChannelSet object
gds_idatquery(), read.metharray()
1 2 3 | gsmvi <- c("GSM2465267", "GSM2814572")
fpath <- file.path(tempdir(), "gds_idat2rg_example")
rg <- gds_idat2rg(gsmvi, dfp = fpath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.