plot_phred_per_bp: Per base pair PHRED score plot

View source: R/rnaseq_workflow_qc.R

plot_phred_per_bpR Documentation

Per base pair PHRED score plot

Description

Create a line plot with per base pair mean PHRED scores.

Usage

plot_phred_per_bp(
  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 phred_bp 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.