Does the object contain a subset of data?
Source:R/check-scalar-hasSubset.R
check-scalar-hasSubset.RdDoes the object contain a subset of data?
Arguments
- x
Annotated.- metadata
character. Names inmetadata()that denote object is subset.
Examples
if (requireNamespace("SummarizedExperiment", quietly = TRUE)) {
data(RangedSummarizedExperiment, package = "AcidTest")
x <- RangedSummarizedExperiment
hasSubset(x)
}
#> [1] FALSE