droplevels2: Drop unused levels from factors

droplevels2R Documentation

Drop unused levels from factors

Description

Drop unused levels from factors

Usage

droplevels2(x, ...)

## S4 method for signature '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)

acidgenomics/r-acidexperiment documentation built on Jan. 17, 2024, 7:56 p.m.