Plot counts per biotype

# S4 method for SummarizedExperiment
plotCountsPerBiotype(object, assay = 1L,
  n = 9L, interestingGroups = NULL, trans = "log2",
  countsAxisLabel = "counts")

# S4 method for SummarizedExperiment
plotCountsPerBroadClass(object,
  assay = 1L, interestingGroups = NULL, trans = "log2",
  countsAxisLabel = "counts")

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().

n

integer(1). Number to include.

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.

Value

ggplot.

Examples

data(rse, sce) ## SummarizedExperiment ==== plotCountsPerBiotype(rse)
## SingleCellExperiment ==== plotCountsPerBiotype(sce)