TileCalcWinGC2 {TileShuffle} | R Documentation |
Calculates the average window GC content.
TileCalcWinGC2(gc, win.st, win.len)
gc |
A numeric vector containing the GC content of one
or more probes. The GC content is the sum of the relative numbers of
Cs and Gs in the probe sequence. |
win.st |
An integer vector containing one or more window
start positions in gc . |
win.len |
An integer vector containing one or more window
lengths. It must be of same length as win.st . |
Calculates the average window GC content on probe GC contents with given
start positions and window lengths. In case of few but longer windows, this
function is superior to TileCalcWinGC
which is optimized for
short windows.
A numeric
vector
containing the average GC content per
window. Note that windows of length zero are reported with average GC
content of NA
. Moreover, GC content with the value NA
are excluded from the calculation.