\HeaderA{hyperG}{Hypergeometric test}{hyperG}
\keyword{data}{hyperG}
\keyword{manip}{hyperG}
\begin{Description}\relax
a hypergeometric test for genetic interaction data.
\end{Description}
\begin{Usage}
\begin{verbatim}hyperG(data, nbTested, universe)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{data}] Matrix with 2 columns the first one corresponds to the
number of interactions per pair of interacting complexes
and the second one to number of tested interactions. This could be the first
two columns resulting from a call to the \code{test2Interact} function.
\item[\code{nbTested}] Number of interacting pairs
\item[\code{universe}] Total Number of tested pairs
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
N. LeMeur
\end{Author}
\begin{SeeAlso}\relax
\code{phyper}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## Create matrix interaction x tested matrix
interact <-  c(1, 3, 2, 2, 6, 5, 2, 4, 1, 3)
tested <-  c(3, 3, 5, 4, 8, 5, 3, 4, 2, 3)
mat <- cbind(interact, tested)

## Perform test
res <- hyperG(mat, 1000, 10000)
summary(res$P)
\end{ExampleCode}
\end{Examples}

