Learn R Programming

genBaRcode (version 1.2.8)

plotQualityScoreDis: Plotting Quality Score Distribution

Description

Creates a plot of the quality values accommodated by the fastq file.

Usage

plotQualityScoreDis(source_dir, file_name, type = "median", rel = FALSE)

Value

a ggplot2 object.

Arguments

source_dir

a character string of the path to the source directory.

file_name

a character string of the file name.

type

a character string, possible values are "mean" and "median".

rel

a logical value. If TRUE the y-axis will show relative frequency instead of the absolut counts.

Examples

Run this code

if (FALSE) {

source_dir <- system.file("extdata", package = "genBaRcode")

plotQualityScoreDis(source_dir, file_name = "test_data.fastq", type = "mean")

}

Run the code above in your browser using DataLab