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.
computeRowStatsFBM(fbm, ncores = 1)A bigstatsr::FBM object.
Integer; number of cores to use for parallel operations (default 1).
A list with two numeric vectors:
Sum of each row.
Sum of squares of each row.