Does the input object contain clusters?
Source:R/check-scalar-hasClusters.R
check-scalar-hasClusters.Rd
Does the input object contain clusters?
Examples
data(SingleCellExperiment_Seurat, package = "AcidTest")
## TRUE ====
if (requireNamespace("AcidSingleCell", quietly = TRUE)) {
hasClusters(SingleCellExperiment_Seurat)
}
#> [1] TRUE
## FALSE ====
hasClusters(list())
#> [1] FALSE