get_sums: Calculates factor-stratified sums for each column. Adapted...

View source: R/RcppExports.R

get_sumsR 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


scITD documentation built on Sept. 8, 2023, 5:11 p.m.