\HeaderA{UniFilter-constructor}{Constructor for Class UniFilter}{UniFilter.Rdash.constructor}
\aliasA{UniFilter}{UniFilter-constructor}{UniFilter}
\keyword{manip}{UniFilter-constructor}
\begin{Description}\relax
Constructor for class UniFilter allows to apply different unitest filters to class
\code{\LinkA{ExprTreeSet}{ExprTreeSet}}, i.e. to the expression level data.frame \code{data}.
\end{Description}
\begin{Usage}
\begin{verbatim}
UniFilter(unitest    = "t.test",
          foldchange = character(),
          prescall   = character(),
          unifilter  = character())
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{unitest}] \code{"character"} vector describing parameters for \code{\LinkA{uniTest}{uniTest}}.
\item[\code{foldchange}] \code{"character"} vector describing parameters for \code{\LinkA{fcFilter}{fcFilter}}.
\item[\code{prescall}] \code{"character"} vector describing parameters for \code{\LinkA{callFilter}{callFilter}}.
\item[\code{unifilter}] \code{"character"} vector describing parameters for \code{\LinkA{unitestFilter}{unitestFilter}}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The UniFilter constructor allows to apply the following unitest filters to class \code{\LinkA{ExprTreeSet}{ExprTreeSet}}:
\Tabular{lll}{
& \code{unitest}:& character vector c(type,alternative,correction.numperm,mu,paired,conflevel,varequ). \\
& \code{foldchange}:& character vector c(cutoff,direction). \\
& \code{prescall}:& character vector c(cutoff,samples,condition). \\
& \code{unifilter}:& character vector c(cutoff,variable). 
}
\end{Details}
\begin{Value}
An object of type \code{"\LinkA{UniFilter}{UniFilter.Rdash.class}"}
\end{Value}
\begin{Note}\relax
Function \code{UniFilter} is used as constructor for class \code{UniFilter} so that the user
need not know details for creating S4 classes.
\end{Note}
\begin{Author}\relax
Christian Stratowa
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{UniFilter}{UniFilter.Rdash.class}}, \code{\LinkA{PreFilter}{PreFilter}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## fill character vectors within constructor
unifltr <- UniFilter(unitest=c("t.test","two.sided","none",0,0.0,FALSE,0.95,TRUE),
                     foldchange=c(1.3,"both"),unifilter=c(0.1,"pval"))
str(unifltr)

## alternatively add character vectors as methods after creation of constructor
unifltr <- UniFilter()
fcFilter(unifltr) <- c(1.5,"both")
unitestFilter(unifltr) <- c(0.01,"pval")
str(unifltr)
\end{ExampleCode}
\end{Examples}

