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

Description Usage Arguments Value

View source: R/de_functions.R

Description

Collapse count matrices by cell type, given min/max number of cells

Usage

1
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


conos documentation built on Feb. 23, 2021, 9:06 a.m.