plot_seq_duplication: Sequence duplication line plot

View source: R/rnaseq_workflow_qc.R

plot_seq_duplicationR Documentation

Sequence duplication line plot

Description

Create a line plot with per sample sequence duplication levels.

Usage

plot_seq_duplication(
  data,
  labels = NULL,
  line_colors = rep("red4", length(data)),
  alpha = 0.25,
  line_width = 1.5,
  ids = NULL,
  invert = F
)

Arguments

data

A list of data frames with data in the same format as seq_duplication returned by load_paired_end_qc_data. Each data frame is intended to represent a different category of data points (e.g., R1 vs. R2 reads in paired-end data).

labels

A vector of strings for legend labels corresponding to the data frames in data.

line_colors

A vector of strings. Line colors corresponding to the data frames in data.

alpha

A numeric. The alpha level for lines.

line_width

A numeric value for the line width.

ids

A vector of rownames for subsetting data for plotting.

invert

A logical. Should ids be used for excluding rows from plotting instead?

Value

A ggplot object.

See Also

load_paired_end_qc_data


bryancquach/omixjutsu documentation built on Jan. 29, 2023, 3:47 p.m.