Skip to contents

Does the object contain a subset of data?

Usage

hasSubset(x, metadata = "subset")

Arguments

x

Annotated.

metadata

character. Names in metadata() that denote object is subset.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2023-09-29.

Examples

if (requireNamespace("SummarizedExperiment", quietly = TRUE)) {
    data(RangedSummarizedExperiment, package = "AcidTest")
    x <- RangedSummarizedExperiment
    hasSubset(x)
}
#> [1] FALSE