BarcodeInflectionsPlot: Plot the Barcode Distribution and Calculated Inflection...

View source: R/visualization.R

BarcodeInflectionsPlotR Documentation

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)

Arguments

object

Seurat object

Details

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

Value

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

Author(s)

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

See Also

CalculateBarcodeInflections SubsetByBarcodeInflections

Examples

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


Seurat documentation built on May 29, 2024, 4:20 a.m.