Skip to contents

Drop unused levels from factors

Usage

droplevels2(x, ...)

# S4 method for SummarizedExperiment
droplevels2(x)

Arguments

x

Object.

...

Additional arguments.

Value

Modified object.

Note

Updated 2023-03-01.

Examples

data(RangedSummarizedExperiment, package = "AcidTest")

## SummarizedExperiment ====
object <- RangedSummarizedExperiment
object <- droplevels2(object)