Wrapper functions for vsn
justvsn is equivalent to calling
fit = vsn2(x, ...) nx = predict(fit, newdata=x, useDataInFit = TRUE)
justvsn(x, ...) vsnrma(x, ...)
justvsn returns the vsn-normalised intensities in
an object generally of the same class as its first
argument (see the man page of predict for
details). It preserves the metadata.
vsnrma returns an ExpressionSet.
Wolfgang Huber
##--------------------------------------------------
## use "vsn2" to produce a "vsn" object
##--------------------------------------------------
data("kidney")
fit = vsn2(kidney)
nkid = predict(fit, newdata=kidney)
##--------------------------------------------------
## justvsn on ExpressionSet
##--------------------------------------------------
nkid2 = justvsn(kidney)
stopifnot(identical(exprs(nkid), exprs(nkid2)))
##--------------------------------------------------
## justvsn on RGList
##--------------------------------------------------
rg = new("RGList", list(R=exprs(kidney)[,1,drop=FALSE], G=exprs(kidney)[,2,drop=FALSE]))
erge = justvsn(rg)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.