check-scalar-hasClusters: Does the input object contain clusters?

check-scalar-hasClustersR Documentation

Does the input object contain clusters?

Description

Does the input object contain clusters?

Usage

hasClusters(x)

Arguments

x

Object.

Value

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

Note

Updated 2023-09-29.

See Also

AcidGenerics::clusters.

Examples

data(SingleCellExperiment_Seurat, package = "AcidTest")

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

## FALSE ====
hasClusters(list())

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