Skip to contents

Plot number of detected barcodes per cell.

Usage

plotBarcodesPerCell(
  counts,
  fraction = TRUE,
  aggregated = FALSE,
  notDetected = "",
  sep = ";"
)

Arguments

counts

Dataframe with barcodes and UMI counts per cell or SingleCellExperiment or Seurat object

fraction

Boolean, whether to plot fraction or number of cells

aggregated

Counts were aggregated per cell (boolean). Default = `FALSE`.

notDetected

Optional, string representing no detected barcode. NA is always treated as not detected.

sep

Separating character used for aggregation (string). Default = `;`.

Value

Returns a plot