plotAlevinBarcodeCollapse: Summary plot of cell barcode collapsing

View source: R/plotAlevinBarcodeCollapse.R

plotAlevinBarcodeCollapseR Documentation

Summary plot of cell barcode collapsing

Description

Plot the original frequency of each cell barcode in the original whitelist against the frequency after collapsing similar cell barcodes.

Usage

plotAlevinBarcodeCollapse(
  cbTable,
  firstSelColName = "inFirstWhiteList",
  countCol = "collapsedFreq"
)

Arguments

cbTable

data.frame (such as the cbTable returned by readAlevinQC or readAlevinFryQC) with barcode frequencies before and after collapsing.

firstSelColName

Character scalar indicating the name of the logical column in cbTable that corresponds to the original selection of barcodes for quantification.

countCol

Character scalar indicating the name of the column in cbTable that corresponds to the collapsed barcode frequencies.

Value

A ggplot object

Author(s)

Charlotte Soneson

Examples

alevin <- readAlevinQC(system.file("extdata/alevin_example_v0.14",
                                   package = "alevinQC"))
plotAlevinBarcodeCollapse(alevin$cbTable)


csoneson/alevinQC documentation built on Nov. 6, 2024, 7:42 a.m.