check-scalar-hasSubset: Does the object contain a subset of data?

check-scalar-hasSubsetR Documentation

Does the object contain a subset of data?

Description

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)
}

steinbaugh/goalie documentation built on Jan. 17, 2024, 5:16 p.m.