plotReadsPerCell: Plot read counts per cell

plotReadsPerCellR Documentation

Plot read counts per cell

Description

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

Usage

plotReadsPerCell(object, ...)

## S4 method for signature '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(s)

Michael Steinbaugh, Rory Kirchner

Examples

data(bcb)

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

hbc/bcbioSingleCell documentation built on Jan. 13, 2024, 2:35 a.m.