block_processing {DelayedArray} | R Documentation |
A set of utilities for processing an array-like object block by block.
blockApply(x, FUN, ..., grid=NULL, BPPARAM=getAutoBPPARAM()) blockReduce(FUN, x, init, BREAKIF=NULL, grid=NULL) effectiveGrid(block) currentBlockId(block) currentViewport(block) getAutoGridMaker() setAutoGridMaker(GRIDMAKER="blockGrid") getAutoBPPARAM() setAutoBPPARAM(BPPARAM=NULL)
x |
An array-like object. |
FUN |
Coming soon... |
... |
Coming soon... |
grid |
Coming soon... |
BPPARAM |
Coming soon... |
init |
Coming soon... |
BREAKIF |
Coming soon... |
block |
Coming soon... |
GRIDMAKER |
The function to use as automatic grid maker, that is, the function that
will be used by
The automatic grid maker is set to |
Coming soon...
blockGrid
to define grids to use in the context
of block processing of array-like objects.
MulticoreParam
,
SnowParam
, and
bpparam
, from the BiocParallel
package.
DelayedArray objects.
Advanced users: RealizationSink objects for writing an array-like object block by block to disk (or to memory).
## --------------------------------------------------------------------- ## blockApply() ## --------------------------------------------------------------------- ## Coming soon... ## --------------------------------------------------------------------- ## blockReduce() ## --------------------------------------------------------------------- ## Coming soon... ## --------------------------------------------------------------------- ## CONTROL THE DEFAULT GRID MAKER ## --------------------------------------------------------------------- getAutoGridMaker() setAutoGridMaker(function(x) colGrid(x, ncol=5)) getAutoGridMaker() m <- matrix(runif(600), ncol=12) blockApply(m, currentViewport) ## Reset automatic grid maker to factory settings: setAutoGridMaker()