Description Usage Arguments Value Author(s) See Also Examples
Convenience function to flexibly save and restore an already processed expression data compendium via caching.
1 | cacheResource(res, rname, ucdir = "GSEABenchmarkeR")
|
res |
Resource. An arbitrary R object. |
rname |
Character. Resource name. |
ucdir |
Character. User cache directory. Defaults to 'GSEABenchmarkeR',
which will accordingly use |
None. Stores the object in the cache by side effect.
Ludwig Geistlinger <Ludwig.Geistlinger@sph.cuny.edu>
loadEData
, R_user_dir
,
BiocFileCache
1 2 3 4 5 6 7 8 9 10 11 12 | # load user-defined expression compendium
data.dir <- system.file("extdata/myEData", package = "GSEABenchmarkeR")
edat <- loadEData(data.dir)
# do some processing of the compendium
edat <- lapply(edat, function(d) d[1:50,])
# cache it ...
cacheResource(edat, "myEData")
# ... and restore it at a later time
edat <- loadEData(data.dir, cache = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.