R/generateExprVal.method.liwong.R

Defines functions generateExprVal.method.liwong

Documented in generateExprVal.method.liwong

generateExprVal.method.liwong <- function(probes, ...) {
  probes <- t(probes)
  if (ncol(probes) == 1) {
    warning("method liwong unsuitable when only one probe pair")
    list(exprs=as.vector(probes),se.exprs=rep(NA,length(probes)))
  }
  else {
    tmp <- fit.li.wong(probes, ...)
    list(exprs=tmp$theta,se.exprs=tmp$sigma.theta)
  }
}
Bioconductor/affy documentation built on July 21, 2023, 5:23 p.m.