Description Usage Arguments Details Value Note See Also Examples
apply a function over job results in a ciseStore instance
1 | storeApply(store, f, n.chunks, ids=NULL, ..., verbose = FALSE, flatten1=TRUE)
|
store |
instance of |
f |
function on GRanges stored in ciseStore |
n.chunks |
Number of chunks into which the jobs are
to be broken; the
series of chunks is handed to If missing, the value of |
ids |
defaults to NULL; if non-null, the jobs to be processed are limited to those identified in this vector. |
... |
additional arguments to foreach |
verbose |
if TRUE will allow progressbars and other messages to display |
flatten1 |
if TRUE will execute unlist(...,recursive=FALSE) on output, defaulted to FALSE in previous version |
The chunking of job identifiers will determine the degree
of parallelization of application, and the form of the list that
is returned. flatten1
will eventually default to TRUE.
A list whose structure depends on the chunking of job identifiers. See the examples.
eqtlStore imports BiocParallel's bpparam function, and this determines in real time the number of workers to be employed by storeApply.
storeMapResults
will apply over the
store using the batch jobs
submission infrastructure and can
target specific results via ids
; storeApply
uses bplapply
over the entire store
1 2 3 4 5 6 | if (require(geuvStore2)) {
require(BatchJobs)
store = makeGeuvStore2()
storeApply(store, length)
storeApply(store, length, ids=c(1:3,603))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.