SummarizedExperiment
R/HermesData-methods.R
isEmpty.Rd
This method checks whether a SummarizedExperiment::SummarizedExperiment object is empty.
SummarizedExperiment::SummarizedExperiment
# S4 method for class 'SummarizedExperiment' isEmpty(x)
(SummarizedExperiment) object to check.
Flag whether the object is empty.
object
isEmpty(summarized_experiment) #> [1] FALSE isEmpty(summarized_experiment[NULL, ]) #> [1] TRUE isEmpty(hermes_data) #> [1] FALSE