[Experimental]

This method checks whether a SummarizedExperiment::SummarizedExperiment object is empty.

# S4 method for SummarizedExperiment
isEmpty(x)

Arguments

x

(SummarizedExperiment)
object to check.

Value

Flag whether the object is empty.

Examples

isEmpty(summarized_experiment)
#> [1] FALSE
isEmpty(summarized_experiment[NULL, ])
#> [1] TRUE
isEmpty(hermes_data)
#> [1] FALSE