Skip to contents

Plot barcode ranks

Usage

plotBarcodeRanks(object, ...)

# S4 method for SingleCellExperiment
plotBarcodeRanks(
  object,
  colors = c(fitline = AcidPlots::lightPalette[["blue"]], inflection =
    AcidPlots::lightPalette[["purple"]], knee = AcidPlots::lightPalette[["orange"]]),
  labels = list(title = NULL, subtitle = NULL),
  ...
)

Arguments

object

Object.

colors

character(3). Character vector denoting fitline, inflection, and knee point colors. Must pass in color names or hexadecimal values.

labels

list. ggplot2 labels. See ggplot2::labs() for details.

...

Passthrough to barcodeRanksPerSample().

Value

ggplot grid.

Details

Requires DropletUtils package to be installed.

Note

Updated 2023-08-10.

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

## SingleCellExperiment ====
if (requireNamespace("DropletUtils", quietly = TRUE)) {
    object <- SingleCellExperiment_splatter
    plotBarcodeRanks(object)
}