Learn R Programming

Seurat (version 4.3.0.1)

BarcodeInflectionsPlot: Plot the Barcode Distribution and Calculated Inflection Points

Description

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

Usage

BarcodeInflectionsPlot(object)

Value

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

Arguments

object

Seurat object

Author

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

Details

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

See Also

CalculateBarcodeInflections SubsetByBarcodeInflections

Examples

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

Run the code above in your browser using DataLab