check-scalar-hasClusters | R Documentation |
Does the input object contain clusters?
hasClusters(x)
x |
Object. |
TRUE
on success;
FALSE
on failure, with cause set.
Updated 2023-09-29.
AcidGenerics::clusters
.
data(SingleCellExperiment_Seurat, package = "AcidTest")
## TRUE ====
if (requireNamespace("AcidSingleCell", quietly = TRUE)) {
hasClusters(SingleCellExperiment_Seurat)
}
## FALSE ====
hasClusters(list())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.