backgroundBiasCorrection: Background bias correction

View source: R/backgroundBiasCorrection.R

backgroundBiasCorrectionR Documentation

Background bias correction

Description

Correct for a background bias in A, M values from a tiling array. The correction consists in a rotation of angle -theta, as estimated by the backgroundBiasEstimation function.

Usage

backgroundBiasCorrection(x, y, theta, AM.scale.compensation = T)

Arguments

x

numeric vector of A values, e.g. the average of log2 of the specific and the reference signals.

y

numeric vector of M values, e.g. the log2 ratio of the specific over the reference signal.

theta

estimated bias angle in radians.

AM.scale.compensation

logical determining if A and M values should be rescaled prior to correction by a rotation of angle -theta. Scale compensation is required and activated by default.

Value

backgroundBiasCorrection returns a list with the following elements:

x

corrected A value

y

corrected M value

Author(s)

Benjamin Leblanc

References

Leblanc B., Comet I., Bantignies F., and Cavalli G., Chromosome Conformation Capture on Chip (4C): data processing. Book chapter in Polycomb Group Proteins: Methods and Protocols. Lanzuolo C., Bodega B. editors, Methods in Molecular Biology (2016). http://dx.doi.org/10.1007/978-1-4939-6380-5_21

See Also

backgroundBiasEstimation, normalizeArrayData


benja0x40/MRA.TA documentation built on March 13, 2023, 5:15 a.m.