\HeaderA{fcFilter-methods}{Fold-Change Filter}{fcFilter.Rdash.methods}
\aliasA{fcFilter}{fcFilter-methods}{fcFilter}
\aliasA{fcFilter<\Rdash}{fcFilter-methods}{fcFilter<.Rdash.}
\keyword{methods}{fcFilter-methods}
\begin{Description}\relax
This method initializes the Fold-Change Filter. \\
The fold-change is determined by the mean value of group 2 divided by the mean value of group 1. \\
The Fold-Change Filter flags all rows with: \code{flag = (fc >= cutoff)}

\emph{Usage}

\code{fcFilter(object)} \\
\code{fcFilter(object, value)<-}
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] object of class \code{UniFilter}.
\item[\code{value}] numeric vector \code{c(cutoff, direction)}
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The method \code{fcFilter} initializes the following parameters:
\Tabular{lll}{
& \code{cutoff}:& the cutoff level for the filter. \\
& \code{direction}:& \code{direction="both"} (default): select up and downregulated genes. \\
&                  & \code{direction="up"}: select upregulated genes only. \\
&                  & \code{direction="down"}: select downregulated genes only.
}
\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()
fcFilter(unifltr) <- c(1.5,"both")
str(unifltr)
\end{ExampleCode}
\end{Examples}

