get_sums {scITD} | R Documentation |
Calculates factor-stratified sums for each column. Adapted from pagoda2. https://github.com/kharchenkolab/pagoda2/blob/main/src/misc2.cpp
Description
Calculates factor-stratified sums for each column. Adapted from pagoda2. https://github.com/kharchenkolab/pagoda2/blob/main/src/misc2.cpp
Usage
get_sums(sY, rowSel)
Arguments
sY |
sparse matrix Gene by cell matrix of counts |
rowSel |
factor The donor that each cell is from |
Value
matrix of summed counts per gene per sample
[Package scITD version 1.0.4 Index]