R/rma.background.correct.R

Defines functions rma.background.correct

Documented in rma.background.correct

##################################################################
##
## file: rma.background.correct.R
##
## implements the normal boackground + exponential signal background
## correction traditionally used in RMA computations
##
## for more details see
##  Bolstad, BM (2004) Low Level Analysis of High-density Oligonucleotide Array Data: Background, Normalization and Summarization. Dissertation. University of California, Berkeley.
## pages 17-21
##
##
## History 
## Mar 22, 2008 - Initial version (in preprocessCore)
##
##

rma.background.correct <- function(x,copy=TRUE){

  rows <- dim(x)[1]
  cols <- dim(x)[2]

  if (!is.matrix(x)){
    stop("Matrix expected in normalize.quantiles")
  }

  if (is.integer(x)){
    x <- matrix(as.double(x),rows,cols)
    copy <- FALSE
  }

  .Call("R_rma_bg_correct", x, copy, PACKAGE="preprocessCore");
}

Try the preprocessCore package in your browser

Any scripts or data that you put into this service are public.

preprocessCore documentation built on Jan. 10, 2021, 2:01 a.m.