pkgdown/header.html

Skip to contents

Remove singleton counts from a SummarizedExperiment object. Singleton counts are those that have a value of 1 in the specified assay. This function replaces those values with 0 and stores the modified assay in a new column.

Usage

rmSingletons(rse, inputAssay = "counts", outputAssay = "counts.noSingletons")

Arguments

rse

A SummarizedExperiment object.

inputAssay

The name of the assay to use.

outputAssay

The name of the assay to store the modified counts. Default is "counts.noSingletons".

Value

A SummarizedExperiment object with the modified assay.