keep_high_count_genes: Filter down to the highest count genes

View source: R/utils_filter.R

keep_high_count_genesR Documentation

Filter down to the highest count genes

Description

Filter a SingleCellExperiment or matrix down to the genes (rows) with the highest counts

Usage

keep_high_count_genes(x, n)

Arguments

x

the SingleCellExperiment or matrix

n

the number of highest count genes to keep

Value

object of same type as input containing the highest count genes

Examples

data(sample_sce_data)
keep_high_count_genes(sample_sce_data, 300)

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