plotBarcodeRankDropsResults: Plots for runEmptyDrops outputs.

Description Usage Arguments Value Examples

View source: R/ggPerQCWrapper.R

Description

A wrapper function which visualizes outputs from the runEmptyDrops function stored in the colData slot of the SingleCellExperiment object via plots.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotBarcodeRankDropsResults(
  inSCE,
  sample = NULL,
  defaultTheme = TRUE,
  dotSize = 1,
  titleSize = 18,
  axisLabelSize = 18,
  axisSize = 15,
  legendSize = 15
)

Arguments

inSCE

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

sample

Character vector. 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 1.

titleSize

Size of title of plot. Default 18.

axisLabelSize

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

axisSize

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

legendSize

size of legend. Default 15.

Value

list of .ggplot objects

Examples

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

singleCellTK documentation built on Nov. 8, 2020, 5:21 p.m.