Learn R Programming

Starr (version 1.28.0)

plotPosBias: Bias of hybridzation, depending on base position in sequence.

Description

plotPosBias generates a plot showing the bias of hybridzation, depending on base position in sequence.

Usage

plotPosBias(intensity, sequence, main="", ylim)

Arguments

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

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)
plotPosBias(values, sequence)

Run the code above in your browser using DataLab