plotAlevinKneeRaw: Knee plot of raw cell barcode frequencies

View source: R/plotAlevinKneeRaw.R

plotAlevinKneeRawR Documentation

Knee plot of raw cell barcode frequencies

Description

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.

Usage

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(s)

Charlotte Soneson

Examples

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


csoneson/alevinQC documentation built on April 7, 2024, 8:20 p.m.