R/lnormeS.R

#Like lnorm, but applies to and returns an ExpressionSet object #instead of a matrix
lnormeS <-
function (eS, span=0.1)
{
  if (!is.element(class(eS), c("ExpressionSet", "AffyBatch"))){
 	stop("'eS' must be an object of class 'ExpressionSet' or 'AffyBatch'")
  }
  normat <- lnorm(exprs(eS), span)
  normed.eS <- eS
  exprs(normed.eS) <- normat
  return(normed.eS)
}

Try the LMGene package in your browser

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

LMGene documentation built on April 28, 2020, 8:01 p.m.