plotBarcodeRankDropsResults: Plots for runBarcodeRankDrops outputs.

View source: R/ggPerQCWrapper.R

plotBarcodeRankDropsResultsR Documentation

Plots for runBarcodeRankDrops outputs.

Description

A wrapper function which visualizes outputs from the runBarcodeRankDrops function stored in the metadata slot of the SingleCellExperiment object.

Usage

plotBarcodeRankDropsResults(
  inSCE,
  sample = NULL,
  defaultTheme = TRUE,
  dotSize = 0.5,
  titleSize = 18,
  axisSize = 15,
  axisLabelSize = 18,
  legendSize = 15
)

Arguments

inSCE

Input SingleCellExperiment object with saved dimension reduction components or a variable with saved results from runBarcodeRankDrops. Required.

sample

Character vector or colData variable name. Indicates which sample each cell belongs to. Default NULL.

defaultTheme

Removes grid in plot and sets axis title size to 10 when TRUE. Default TRUE.

dotSize

Size of dots. Default 0.5.

titleSize

Size of title of plot. Default 18.

axisSize

Size of x/y-axis ticks. Default 15.

axisLabelSize

Size of x/y-axis labels. Default 18.

legendSize

size of legend. Default 15.

Value

list of .ggplot objects

Examples

data(scExample, package = "singleCellTK")
sce <- runBarcodeRankDrops(inSCE = sce)
plotBarcodeRankDropsResults(inSCE = sce)

compbiomed/singleCellTK documentation built on Oct. 27, 2024, 3:26 a.m.