plotAlevinKneeNbrGenes: Knee plot of the number of detected genes per cell

View source: R/plotAlevinKneeNbrGenes.R

plotAlevinKneeNbrGenesR Documentation

Knee plot of the number of detected genes per cell

Description

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

Usage

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

Charlotte Soneson

Examples

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


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