Learn R Programming

Starr (version 1.28.0)

plotGCbias: Visualize GC-Bias of Hybridization

Description

Generates a plot showing the GC-bias of the hybridization.

Usage

plotGCbias(intensity, sequence, main="")

Arguments

intensity
a vector of type numeric, containing the measured intensities.
sequence
a vector of type character, containing the sequences.
main
head of the plot

See Also

boxplot

Examples

Run this code
##
sequence <- unlist(lapply(1:50000, function(x) {paste(sample(c("A","T","C","G"),prob=c(0.3,0.3,0.2,0.2),25,replace=TRUE), collapse="")}))
values <- runif(50000,min=-2,max=2)
plotGCbias(values, sequence)

Run the code above in your browser using DataLab