Calls base::droplevels()
on the data.frame in spc@data
.
# S4 method for hyperSpec droplevels(x, ...)
x | hyperSpec object |
---|---|
... | handed to |
hyperSpec object with unused levels of all factors in @data
dropped.
faux_cell[1:3]$region#> [1] matrix matrix matrix #> Levels: cell matrix nucleus#> [1] matrix matrix matrix #> Levels: matrix