plotMappedReads: Plot mapped reads

plotMappedReadsR Documentation

Plot mapped reads

Description

The number of mapped reads should correspond to the number of total reads.

Usage

plotMappedReads(object, ...)

## S4 method for signature 'bcbioRNASeq'
plotMappedReads(
  object,
  interestingGroups = NULL,
  limit = 10000000L,
  perMillion = TRUE,
  labels = list(title = "Mapped 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(s)

Michael Steinbaugh, Rory Kirchner, Victor Barrera

Examples

data(bcb)

## bcbioRNASeq ====
plotMappedReads(bcb)

hbc/bcbioRnaseq documentation built on April 1, 2024, 11:31 a.m.