Learn R Programming

R453Plus1Toolbox (version 1.22.0)

gcPerPosition: GC-Content Per Position

Description

This function plots the GC-content frequency per base position.

Usage

gcPerPosition(object, range=0.95, type="l", col="blue", xlab="Position", ylab="Frequency", ...)

Arguments

object
An object of class DNAStringSet, ShortRead or SFFContainer.
range
An integer vector of length one or two. If length one only bases up to the percent quantile of read lengths defined by the given value are shown. A vector of length two gives the start and end base between which the GC-content is plotted.
type
The type of the plot (see ‘plot’).
col
The plotting color.
xlab
The X axis label.
ylab
The Y axis label.
...
Arguments to be passed to methods, such as graphical parameters (see ‘par’).