\HeaderA{vsn-package}{vsn}{vsn.Rdash.package}
\keyword{package}{vsn-package}
\begin{Description}\relax
vsn
\end{Description}
\begin{Details}\relax
The main function of the package is \code{\LinkA{vsn2}{vsn2}}.
Interesting for its applications are also
\code{predict} and the wrapper function \code{\LinkA{justvsn}{justvsn}}.

\code{\LinkA{vsn2}{vsn2}} can be applied to objects of class
\code{\LinkA{ExpressionSet}{ExpressionSet}},
\code{\LinkA{NChannelSet}{NChannelSet}},
\code{\LinkA{AffyBatch}{AffyBatch}} (from the \code{affy} package) and
\code{\LinkA{RGList}{RGList}} (from the \code{limma} package),
\code{matrix} and \code{vector}. It returns an object of class
\code{\LinkA{vsn}{vsn.Rdash.class}}, which contains the results of fitting the
\code{vsn} model to the data.

The most common use case is that you will want to construct a new
data object with the vsn-normalized data whose class is the same as
that of the input data and which preserves the metadata. This can be
achieved by

\begin{alltt}
    fit = vsn2(x, ...)
    nx = predict(fit, newdata=x)
\end{alltt}

To simplify this, there exists also a simple wrapper
\code{\LinkA{justvsn}{justvsn}}.
\end{Details}
\begin{Author}\relax
Wolfgang Huber
\end{Author}

