collapseCellsByType: Collapse count matrices by cell type, given min/max number of...

View source: R/diff_expression.R

collapseCellsByTypeR 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


sccore documentation built on April 14, 2025, 1:08 a.m.