sccore (version 0.1.2)

colSumByFac: Calculates factor-stratified sums for each column

Description

Calculates factor-stratified sums for each column

Usage

colSumByFac(sY, rowSel)

Arguments

sY

sparse matrix (dgCmatrix)

rowSel

integer factor. Note that the 0-th column will return sums for any NA values; 0 or negative values will be omitted

Value

Matrix