cfun: Combine results which may contain NULL or sparse matrices

Description Usage Arguments

View source: R/get_percluster_exp.R

Description

Because by default, combining of sparse matrices and NULL will yield NULL which is not consistent with our expectation, we need to remove NULL to do the combining the sparse matrices. This function acts as a self-crafted combination function for the foreach output.

Usage

1

Arguments

...

variable number of inputs which are either sparse matrices or NULL


shibiaowan/SHARP documentation built on April 28, 2021, 1:56 p.m.