plotReadsPerCell: Plot Read Counts per Cell

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
2
3
4
5
6
plotReadsPerCell(object, ...)

## S4 method for signature 'bcbioSingleCell'
plotReadsPerCell(object, interestingGroups,
  geom = c("histogram", "ecdf", "violin", "ridgeline", "boxplot"),
  color = NULL, fill = NULL, title = "reads per cell")

Arguments

object

Object.

...

Additional arguments.

interestingGroups

Character vector of interesting groups. Must be formatted in camel case and intersect with sampleData() colnames.

geom

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

color

Desired ggplot color scale. Must supply discrete values. When set to NULL, the default ggplot2 color palette will be used. If manual color definitions are desired, we recommend using ggplot2::scale_color_manual().

fill

Desired ggplot fill scale. Must supply discrete values. When set to NULL, the default ggplot2 color palette will be used. If manual color definitions are desired, we recommend using ggplot2::scale_fill_manual().

title

Plot title.

Value

ggplot.

Author(s)

Michael Steinbaugh, Rory Kirchner

See Also

Other Quality Control Functions: barcodeRanksPerSample, filterCells, metrics, plotCellCounts, plotGenesPerCell, plotMitoRatio, plotMitoVsCoding, plotNovelty, plotQC, plotUMIsPerCell, plotZerosVsDepth

Examples

1
2
3
# bcbioSingleCell ====
plotReadsPerCell(indrops_small, geom = "histogram")
plotReadsPerCell(indrops_small, geom = "ecdf")

roryk/bcbioSinglecell documentation built on May 27, 2019, 10:44 p.m.