QDECR

Reference

fbm_functions_from_qdecr

fbm functions from qdecr

On this page

This page covers fbm_row_mean, fbm_col_mean, fbm_row_is_0, fbm_col_is_0, fbm_row_sum, fbm_col_sum, fbm_row_sd and fbm_col_sd.

Usage

R
fbm_row_mean(
  X,
  ncores = 1,
  row.ind = bigstatsr::rows_along(X),
  col.ind = bigstatsr::cols_along(X),
  row.mask = NULL,
  col.mask = NULL
)

fbm_col_mean(
  X,
  ncores = 1,
  row.ind = bigstatsr::rows_along(X),
  col.ind = bigstatsr::cols_along(X),
  row.mask = NULL,
  col.mask = NULL
)

fbm_row_is_0(
  X,
  ncores = 1,
  row.ind = bigstatsr::rows_along(X),
  col.ind = bigstatsr::cols_along(X),
  row.mask = NULL,
  col.mask = NULL
)

fbm_col_is_0(
  X,
  ncores = 1,
  row.ind = bigstatsr::rows_along(X),
  col.ind = bigstatsr::cols_along(X),
  row.mask = NULL,
  col.mask = NULL
)

fbm_row_sum(
  X,
  ncores = 1,
  row.ind = bigstatsr::rows_along(X),
  col.ind = bigstatsr::cols_along(X),
  row.mask = NULL,
  col.mask = NULL
)

fbm_col_sum(
  X,
  ncores = 1,
  row.ind = bigstatsr::rows_along(X),
  col.ind = bigstatsr::cols_along(X),
  row.mask = NULL,
  col.mask = NULL
)

fbm_row_sd(
  X,
  ncores = 1,
  row.ind = bigstatsr::rows_along(X),
  col.ind = bigstatsr::cols_along(X),
  row.mask = NULL,
  col.mask = NULL
)

fbm_col_sd(
  X,
  ncores = 1,
  row.ind = bigstatsr::rows_along(X),
  col.ind = bigstatsr::cols_along(X),
  row.mask = NULL,
  col.mask = NULL
)

Arguments

X

the FBM (file-backed matrix) object

ncores

the number of cores to be used

row.ind

the rows to go over (by default, it goes over all rows)

col.ind

the columns to go over (by default, it goes over all columns)

row.mask

a separate mask for the rows (added because this was useful internally)

col.mask

a separate mask for the columns (added because this was useful internally)

Value

an mgh object of the corresponding map