- X
A file-backed matrix, typically the genotypes of a BGData
object.
- FUN
The function to be applied on each chunk.
- i
Indicates which rows of X should be used. Can be integer,
boolean, or character. By default, all rows are used.
- j
Indicates which columns of X should be used. Can be integer,
boolean, or character. By default, all columns are used.
- chunkBy
Whether to extract chunks by rows (1) or by columns (2). Defaults to
columns (2).
- chunkSize
The number of rows or columns of X that are brought into
physical memory for processing per core. If NULL, all elements
in i or j are used. Defaults to 5000.
- nCores
The number of cores (passed to mclapply). Defaults to the number
of cores as detected by detectCores.
- verbose
Whether progress updates will be posted. Defaults to FALSE.
- ...
Additional arguments to be passed to the
apply like function.