plotBarcodeRanks: Plot barcode ranks

plotBarcodeRanksR Documentation

Plot barcode ranks

Description

Plot barcode ranks

Usage

plotBarcodeRanks(object, ...)

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

Details

Requires DropletUtils package to be installed.

Value

ggplot grid.

Note

Updated 2023-08-10.

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

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

acidgenomics/acidplots documentation built on April 1, 2024, 7:37 p.m.