
Compute row-wise sum and sum of squares for a Filebacked Big Matrix
Source:R/utils.R
computeRowStatsFBM.RdEfficiently computes row sums and row sum-of-squares for a
bigstatsr::FBM using column-wise chunking, suitable for large datasets
that cannot be loaded fully into memory.
Arguments
- fbm
A
bigstatsr::FBMobject.- ncores
Integer; number of cores to use for parallel operations (default 1).