keep_high_count_genes {CellBench} | R 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)

[Package CellBench version 1.6.0 Index]