Skip to contents

Implements the batched triplet combination approach for memory-efficient processing. Processes groups in batches using lapply/mclapply and combines results efficiently.

Usage

.make_m2_batched(
  m1_inclusion_matrix,
  group_ids,
  batch_size,
  unique_groups,
  multi_thread,
  verbose
)