Skip to contents

Simple plot of total read counts per sample

Usage

plotReadCounts(
  dgeObject,
  group = NULL,
  log10 = FALSE,
  legend = TRUE,
  order = TRUE
)

Arguments

dgeObject

DGEList object with barcode counts.

group

Optional, column name in sample metadata to group samples by (string).

log10

log10 transform output (boolean). Default = `FALSE`.

legend

Include legend (boolean). Default = `TRUE`.

order

Order samples by group (boolean). Default = `TRUE`.

Value

Returns a plot of the read counts per column (sample) in a data frame

Examples

data(test.dge)
plotReadCounts(test.dge, group = "Treatment")