This function plots the calculated inflection points derived from the barcode-rank distribution.

BarcodeInflectionsPlot(object)

Arguments

object

Seurat object

Value

Returns a `ggplot2` object showing the by-group inflection points and provided (or default) rank threshold values in grey.

Details

See [CalculateBarcodeInflections()] to calculate inflection points and [SubsetByBarcodeInflections()] to subsequently subset the Seurat object.

Author

Robert A. Amezquita, robert.amezquita@fredhutch.org

Examples

data("pbmc_small")
pbmc_small <- CalculateBarcodeInflections(pbmc_small, group.column = 'groups')
BarcodeInflectionsPlot(pbmc_small)