Last chance! 50% off unlimited learning
Sale ends in
backgroundCorrect
of the limma
package.backgroundCorrect2(object,method="subtract", offset=0)
marrayRaw
marrayRaw
.backgroundCorrect
with following methods implemented:
For further details and references, please refer to its help page. An
alternative Bayesian model for background correction
(kooperberg
) is also implemented
in the limma
package.
backgroundCorrect
,kooperberg
# Loading data
data(sw)
#No background correction
sw.none <- backgroundCorrect2(sw,method="none")
plot(maA(sw.none)[,1],maM(sw.none)[,1])
# Simple subtraction
sw.sub <- backgroundCorrect2(sw,method="sub")
points(maA(sw.sub)[,1],maM(sw.sub)[,1],col="red")
Run the code above in your browser using DataLab