plot_ee_rate_dist: Plot the distribution of expected error (EE) rates of reads

View source: R/rsearch_wrappers.R

plot_ee_rate_distR Documentation

Plot the distribution of expected error (EE) rates of reads

Description

lifecycle-experimental

Wrapper of Rsearch::plot_ee_rate_dist(). Plot the distribution of the expected error (EE) rate of the reads of a fastq file, a key diagnostic before quality filtering (e.g. with maxEE thresholds).

Usage

plot_ee_rate_dist(
  fastq_input,
  n_bins = 30,
  plot_title = "Distribution of the expected error (EE) rate of reads"
)

Arguments

fastq_input

(required) Path to a fastq file (optionally gzipped).

n_bins

(integer, default 30) Number of histogram bins.

plot_title

(character) Title of the plot.

Value

A ggplot2::ggplot() object.

Author(s)

Adrien Taudière

See Also

Rsearch::plot_ee_rate_dist(), plot_read_quality()

Examples


plot_ee_rate_dist(
  system.file("extdata", "ex.fastq", package = "MiscMetabar")
)


MiscMetabar documentation built on Nov. 16, 2026, 5:06 p.m.