Plot counts per broad class definition

plotCountsPerBroadClass(object, ...)

# S4 method for SummarizedExperiment
plotCountsPerBroadClass(object,
  assay = 1L, interestingGroups = NULL, trans = c("log10", "log2",
  "identity"), countsAxisLabel = "counts",
  title = "Counts per broad class")

Arguments

object

Object.

assay

vector(1). Name or index of count matrix slotted in assays(). When passing in a string, the name must be defined in assayNames().

interestingGroups

character. Groups of interest that define the samples. If left unset, defaults to sampleName.

trans

character(1). Name of the axis scale transformation to apply.

For more information:

help(topic = "scale_x_continuous", package = "ggplot2")
countsAxisLabel

character(1). Counts axis label.

title

character(1). Plot title.

...

Additional arguments.

Value

Plot.

Examples

data(rse, sce, package = "acidtest") ## SummarizedExperiment ==== plotCountsPerBroadClass(rse)
## SingleCellExperiment ==== plotCountsPerBroadClass(sce)