droplevels2 | R Documentation |
Drop unused levels from factors
droplevels2(x, ...)
## S4 method for signature 'SummarizedExperiment'
droplevels2(x)
x |
Object. |
... |
Additional arguments. |
Modified object.
Updated 2023-03-01.
data(RangedSummarizedExperiment, package = "AcidTest")
## SummarizedExperiment ====
object <- RangedSummarizedExperiment
object <- droplevels2(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.