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

acidgenomics/r-goalie documentation built on Jan. 12, 2024, 4:15 a.m.