Skip to contents

[Experimental]

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

Usage

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