Plot cell counts
Usage
plotCellCounts(object, ...)
# S4 method for class 'SingleCellExperiment'
plotCellCounts(
object,
assay = 1L,
interestingGroups = NULL,
labels = list(title = "Cell counts", subtitle = NULL, x = NULL, y = "cells")
)Arguments
- object
Object.
- assay
vector(1). Assay name or index position.- interestingGroups
character. Groups of interest to use for visualization. Corresponds to factors describing the columns of the object.- labels
list. ggplot2 labels. Seeggplot2::labs()for details.- ...
Additional arguments.
Examples
data(SingleCellExperiment_splatter, package = "AcidTest")
## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
plotCellCounts(object)