\HeaderA{unitestFilter-methods}{Unitest Filter}{unitestFilter.Rdash.methods}
\aliasA{unitestFilter}{unitestFilter-methods}{unitestFilter}
\aliasA{unitestFilter<\Rdash}{unitestFilter-methods}{unitestFilter<.Rdash.}
\keyword{methods}{unitestFilter-methods}
\begin{Description}\relax
This method initializes the Unitest Filter. \\
Applying an unitest such as the \code{t.test} to two groups returns the p-value for the test
and the value of the t-statistic. The Unitest Filter allows to select only rows satisfying
e.g. a certain p-value as cutoff. \\
The Unitest Filter flags all rows with: \code{flag = (variable <= cutoff)}

\emph{Usage}

\code{unitestFilter(object)} \\
\code{unitestFilter(object, value)<-}
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] object of class \code{UniFilter}.
\item[\code{value}] character vector \code{c(cutoff, variable)}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The method \code{unitestFilter} initializes the following parameters:
\Tabular{lll}{
& \code{cutoff}:& the cutoff level for the filter. \\
& \code{variable}:& \code{variable="pval"} (default): p-value. \\
&                 & \code{variable="stat"}: univariate statistic. \\
&                 & \code{variable="padj"}: optional adjusted p-value. \\
&                 & \code{variable="pcha"}: optional p-value obtained by permutations.
}
\end{Details}
\begin{Value}
An initialized \code{\LinkA{UniFilter}{UniFilter.Rdash.class}} object.
\end{Value}
\begin{Author}\relax
Christian Stratowa
\end{Author}
\begin{Examples}
\begin{ExampleCode}
unifltr <- UniFilter()
unitestFilter(unifltr) <- c(0.01,"pval")
str(unifltr)
\end{ExampleCode}
\end{Examples}

