Skip to contents

High quality RNA-seq samples ideally should have at least 10 million reads per sample.

Usage

plotTotalReads(object, ...)

# S4 method for bcbioRNASeq
plotTotalReads(
  object,
  interestingGroups = NULL,
  limit = 20000000L,
  perMillion = TRUE,
  labels = list(title = "Total reads", subtitle = NULL, sampleAxis = NULL, metricAxis =
    "reads"),
  flip = getOption(x = "acid.flip", default = TRUE)
)

Arguments

object

Object.

interestingGroups

character. Groups of interest to use for visualization. Corresponds to factors describing the columns of the object.

limit

numeric(1). Threshold limit.

perMillion

logical(1). Display as counts per million.

labels

list. ggplot2 labels. See ggplot2::labs() for details.

flip

logical(1). Flip x and y axes. Recommended for plots containing many samples.

...

Additional arguments.

Value

ggplot.

Note

Updated 2022-05-09.

Author

Michael Steinbaugh, Rory Kirchner, Victor Barrera

Examples

data(bcb)

## bcbioRNASeq ====
plotTotalReads(bcb)