Plot the number of detected genes per cell in decreasing order. Only cells contained in the original whitelist are considered.

plotAlevinKneeNbrGenes(cbTable, firstSelColName = "inFirstWhiteList")

Arguments

cbTable

data.frame (such as the cbTable returned by readAlevinQC or readAlevinFryQC) with the number of detected genes per cell.

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"))
plotAlevinKneeNbrGenes(alevin$cbTable)