BarcodeFamilyHistogram {umiAnalyzer}R Documentation

Consensus depth histograms

Description

Generate histograms for the frequency of barcode family depths.

Usage

BarcodeFamilyHistogram(
  object,
  xMin = 0,
  xMax = 100,
  samples = NULL,
  option = "viridis",
  direction = 1,
  theme = "classic"
)

Arguments

object

Requires a UMI sample or UMI experiment object

xMin

Minimum consensus family size to plot, default is 0.

xMax

Maximum consensus family size to plot. Default is 100.

samples

List of samples to be shown.

option

Color scheme to use

direction

If using viridis colors sets the orientation of color scale.

theme

ggplot theme to use. Defaults to classic.

Value

A ggplot object

Examples

library(umiAnalyzer)
main = system.file('extdata', package = 'umiAnalyzer')
simsen <- createUmiExperiment(main, importBam = TRUE)
barcode_dist <- BarcodeFamilyHistogram(simsen)


[Package umiAnalyzer version 1.0.0 Index]