Plot cell counts per cluster

plotCellCountsPerCluster(object, ...)

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

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

# S4 method for cell_data_set
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 2019-08-02.

Examples

data( Seurat, cell_data_set, package = "acidtest" ) ## Seurat ==== object <- Seurat plotCellCountsPerCluster(object)
## cell_data_set ==== object <- cell_data_set plotCellCountsPerCluster(object)