Skip to contents

Plot cell counts per cluster

Usage

plotCellCountsPerCluster(object, ...)

# S4 method for SingleCellExperiment
plotCellCountsPerCluster(object, interestingGroups = NULL)

Arguments

object

Object.

interestingGroups

character. Groups of interest to use for visualization. Corresponds to factors describing the columns of the object.

...

Additional arguments.

Value

Show graphical output. Invisibly return ggplot.

Note

Updated 2023-08-10.

Examples

data(SingleCellExperiment_Seurat, package = "AcidTest")

## SingleCellExperiment ====
object <- SingleCellExperiment_Seurat
plotCellCountsPerCluster(object)