keep_high_count_cells: Filter down to the highest count cells

View source: R/utils_filter.R

keep_high_count_cellsR Documentation

Filter down to the highest count cells

Description

Filter a SingleCellExperiment or matrix down to the cells (columns) with the highest counts

Usage

keep_high_count_cells(x, n)

Arguments

x

the SingleCellExperiment or matrix

n

the number of highest count cells to keep

Value

object of same type as input containing the highest count cells

Examples

data(sample_sce_data)
keep_high_count_cells(sample_sce_data, 10)

Shians/CellBench documentation built on Oct. 16, 2023, 7:54 a.m.