TileCalcWinGC2 {TileShuffle}R Documentation

TileCalcWinGC2

Description

Calculates the average window GC content.

Usage

TileCalcWinGC2(gc, win.st, win.len)

Arguments

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.

Details

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.

Value

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.


[Package TileShuffle version 0.1.0 Index]