plotCellCounts: Plot cell counts

plotCellCountsR Documentation

Plot cell counts

Description

Plot cell counts

Usage

plotCellCounts(object, ...)

## S4 method for signature '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. See ggplot2::labs() for details.

...

Additional arguments.

Value

ggplot.

Note

Updated 2023-08-10.

Author(s)

Michael Steinbaugh, Rory Kirchner

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
plotCellCounts(object)

acidgenomics/acidplots documentation built on April 1, 2024, 7:37 p.m.