Plot the raw cell barcode frequencies in decreasing order, and indicate a predetermined breakpoint (indicating barcodes included in the original whitelist) using color as well as a label.

plotAlevinKneeRaw(cbTable, firstSelColName = "inFirstWhiteList")

Arguments

cbTable

data.frame with raw barcode frequencies (such as the cbTable returned by readAlevinQC or readAlevinFryQC).

firstSelColName

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

Value

A ggplot object

Author

Charlotte Soneson

Examples

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