Skip to contents

Plot the distribution of read counts for all unfiltered cellular barcodes.

Usage

plotReadsPerCell(object, ...)

# S4 method for bcbioSingleCell
plotReadsPerCell(
  object,
  interestingGroups = NULL,
  geom = c("histogram", "ecdf", "violin", "ridgeline", "boxplot"),
  cutoffLine = FALSE,
  title = "Reads per cell"
)

Arguments

object

Object.

interestingGroups

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

geom

character(1). Plot type. Uses match.arg() internally and defaults to the first argument in the character vector.

cutoffLine

logical(1). Include a line marking the cutoff.

title

character(1). Title.

...

Additional arguments.

Value

ggplot.

Note

Updated 2023-12-04.

Author

Michael Steinbaugh, Rory Kirchner

Examples

data(bcb)

## bcbioSingleCell ====
plotReadsPerCell(bcb, geom = "histogram")

plotReadsPerCell(bcb, geom = "ecdf")