plot_gc_content_hist: GC content histogram

View source: R/rnaseq_workflow_qc.R

plot_gc_content_histR Documentation

GC content histogram

Description

Create a GC content by sample histogram.

Usage

plot_gc_content_hist(
  data,
  binsize = 2.5,
  labels = NULL,
  fill = rep("red4", length(data)),
  alpha = 0.25,
  ids = NULL,
  invert = F
)

Arguments

data

A list of data frames with data in the same format as fastqc returned by load_paired_end_qc_data.

binsize

A numeric value for the histogram bin widths.

labels

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

fill

A string. The fill color for histogram bars.

alpha

A numeric. The alpha level for histogram bars.

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.