R/generateExprVal.method.avgdiff.R

Defines functions generateExprVal.method.avgdiff

Documented in generateExprVal.method.avgdiff

## Currently, the input is a 2 matrices a pm and a mm

##avdiff is more like median than mean, it would be nice to actually have
##avfif
##added typical se of the mean as returned se
generateExprVal.method.avgdiff <- function(probes, ...) {
  list(exprs=apply(probes, 2, median),se.exprs=apply(probes,2,sd)/sqrt(nrow(probes)))
}

Try the affy package in your browser

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

affy documentation built on Nov. 8, 2020, 8:18 p.m.