Learn R Programming

dada2 (version 1.0.3)

plotQualityProfile: Plot quality profile of a fastq file.

Description

This function plots a visual summary of the distribution of quality scores as a function of sequence position for the input fastq file.

Usage

plotQualityProfile(fl, n = 1e+06)

Arguments

fl
(Required). character(1). The file path to the fastq or fastq.gz file.
n
(Optional). Default 1,000,000. The number of records to sample from the fastq file.

Value

A ggplot2 object. Will be rendered to default device if printed, or can be stored and further modified. See ggsave for additional options.

Examples

Run this code
plotQualityProfile(system.file("extdata", "sam1F.fastq.gz", package="dada2"))

Run the code above in your browser using DataLab