Skip to contents

Identify pairs of columns interacting with one another

Usage

asap_build_interacting_columns(
  y_dn,
  z_dm,
  log_beta,
  beta_row_names,
  knn = 10L,
  do_stdize_beta = TRUE,
  do_log1p = FALSE,
  verbose = TRUE,
  NUM_THREADS = 1L,
  CELL_NORM = 10000,
  BLOCK_SIZE = 1000L
)

Arguments

y_dn

sparse data matrix (D x N)

z_dm

sparse data matrix (D x M)

log_beta

D x K log dictionary/design matrix

beta_row_names

row names log_beta (D vector)

knn

How many nearest neighbours we want (default: 10)

do_stdize_beta

use standardized log_beta (Default: TRUE)

do_log1p

do log(1+y) transformation

verbose

verbosity

NUM_THREADS

number of threads in data reading

CELL_NORM

sample normalization constant (default: 1e4)

BLOCK_SIZE

disk I/O block size (number of columns)