Uses the provided pools to merge columns of the supplied data matrix

poolMatrixCols(data, pools)

Arguments

data

data.frame or matrix to pool

pools

named list of character vector describing cell ids in each pool

Value

Matrix of pooled data

Details

This would typically be used on a gene expression matrix (genes X cells) to pool cells.

The pools argument is obtained by running applyMicroClustering