\HeaderA{rsn}{Robust Spline Normalization between chips}{rsn}
\keyword{methods}{rsn}
\begin{Description}\relax
Robust spline normalization (monotonic curves) between chips
\end{Description}
\begin{Usage}
\begin{verbatim}
rsn(x.lumi, targetArray = NULL, excludeFold = 2, span = 0.03, ifPlot = FALSE, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x.lumi}] an ExpressionSet inherited object or a data matrix with columns as samples and rows as genes 
\item[\code{targetArray}] A target chip is the model for other chips to normalize. It can be a column index, a vector or a LumiBatch object with one sample. 
\item[\code{excludeFold}] exclude the genes with fold change larger than "excludeFold" during fitting the curve in normalization 
\item[\code{span}] the span parameter used by \code{\LinkA{monoSmu}{monoSmu}} 
\item[\code{ifPlot}] determine whether to plot intermediate results 
\item[\code{...}] other parameters used by \code{\LinkA{monoSmu}{monoSmu}} 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The robust spline normalization (RSN) algorithm combines the features of quantile and loess normalization. It is designed to normalize the variance-stabilized data. The function will check whether the data is variance stabilized (vst or log2 transform), if not, it will automatically run lumiT before run rsn. For details of the algorithm, please see the reference.

The targetArray can be a column index, a vector or a LumiBatch object with one sample, which corresponds to an external sample to be normalized with. This is very useful for handling large data set or normalizing the data set with a common reference (targetArray).
\end{Details}
\begin{Value}
Return an object with expression values normalized. The class of the return object is the same as the input object x.lumi.
If it is a LumiBatch object, it also includes the VST transform function and its parameters as attributes: "transformFun", "parameter". See \code{\LinkA{inverseVST}{inverseVST}} for details.
\end{Value}
\begin{Author}\relax
Pan Du, Simon Lin
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{lumiN}{lumiN}}, \code{\LinkA{monoSmu}{monoSmu}}
\end{SeeAlso}

