remove_variables_second: Remove variables based on the mean expression levels across...

View source: R/preprocess.R

remove_variables_secondR Documentation

Remove variables based on the mean expression levels across samples.

Description

This function removes variable data such that the mean expression levels across samples are less than 'min_meannReads'.

Usage

remove_variables_second(sce = NULL, min_meannReads = 0)

Arguments

sce

A SingleCellExperiment object.

min_meannReads

An integer. This function removes variables for which the mean read counts are less than this value.

Value

A SingleCellExperiment object.

Examples

data(pbmc_eg)
pbmc <- remove_variables_second(sce = pbmc_eg, min_meannReads = 0.01)


keita-iida/ASURAT documentation built on Nov. 23, 2022, 6:50 p.m.