collapseCellsByType {sccore} | R Documentation |
Collapse count matrices by cell type, given min/max number of cells
Description
Collapse count matrices by cell type, given min/max number of cells
Usage
collapseCellsByType(cm, groups, min.cell.count = 10, max.cell.count = Inf)
Arguments
cm |
count matrix |
groups |
factor specifying cell types |
min.cell.count |
numeric Minimum number of cells to include (default=10) |
max.cell.count |
numeric Maximum number of cells to include (default=Inf). If Inf, there is no maximum. |
Value
Subsetted factor of collapsed cells by type, with NA cells omitted
[Package sccore version 1.0.5 Index]