Learn R Programming

seqTools (version 1.6.0)

plotGCcontent: plotGCcontent: Plots the proportions of relative GC content for all FASTQ files.

Description

The function creates plots on proportions of relative GC content. For each FASTQ file from wich data is contained, one separate line is plotted. A value of 0.1 at the proportion of 40 says that 0.1 % of the reads have 40 % GC content.

Usage

plotGCcontent(object, main, ...)

Arguments

object
Fastqq: Object which contains collected values from nFiles FASTQ files.
main
integer(optional): The main title displayed on top of the plot. When missing, a standard text is printed.
...
Other arguments which are passed to the internally called plot function.

Value

Details

The area under each plotted line adds up to 1.

See Also

Fastqq-class

Examples

Run this code
basedir <- system.file("extdata", package="seqTools")
setwd(basedir)
fq <- fastqq(c("g4_l101_n100.fq.gz", "g5_l101_n100.fq.gz"), k=4, 
    probeLabel=c("g4", "g5"))
#
plotGCcontent(fq)

Run the code above in your browser using DataLab