TileCalcWinTrim2 {TileShuffle}R Documentation

TileCalcWinTrim2

Description

Calculates arithmetic average trimmed by the minimal and maximal value on probe scores on windows.

Usage

TileCalcWinTrim2(int, win.st, win.len)

Arguments

int A numeric vector containing one or more probe scores (i.e. intensities or log-fold changes).
win.st An integer vector containing one or more window start positions in int.
win.len An integer vector containing one or more window lengths. It must be of same length as win.st.

Details

Calculates arithmetic average trimmed by the minimal and maximal value on probe scores on probe scores with given start positions and window lengths. In case of few but longer windows, this function is superior to TileCalcWinTrim which is optimized for short windows.

Value

A numeric vector containing the arithmetic mean trimmed by the minimal and maximal value of the window scores for each possible start position. Note that windows of length zero are reported with a window score of NA. Moreover, probe scores with the value NA are excluded from the calculation.


[Package TileShuffle version 0.1.0 Index]