- X
A file-backed matrix, typically the genotypes of a BGData
object.
- MARGIN
The subscripts which the function will be applied over. 1 indicates
rows, 2 indicates columns.
- FUN
The function to be applied.
- 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.
- 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.