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

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