check-scalar-hasMultipleSamples: Does the input object contain multiple samples?

check-scalar-hasMultipleSamplesR Documentation

Does the input object contain multiple samples?

Description

Does the input object contain multiple samples?

Usage

hasMultipleSamples(x)

Arguments

x

Object.

Value

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

Note

Updated 2022-03-04.

See Also

sampleNames.

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

## TRUE ====
if (requireNamespace("AcidSingleCell", quietly = TRUE)) {
    (SingleCellExperiment_splatter)
}

## FALSE ====
hasMultipleSamples(list())

acidgenomics/goalie documentation built on Dec. 11, 2023, 11:36 p.m.