\HeaderA{createGOMatrix}{A function to create the bipartite graph (BG) incidence matrix
from the protein complexes parsed from the GO Database}{createGOMatrix}
\keyword{datagen}{createGOMatrix}
\keyword{array}{createGOMatrix}
\begin{Description}\relax
This function takes the output from the \code{\LinkA{getGOInfo}{getGOInfo}} function and
creates the bipartite graph (BG) incidence matrix from the output.
\end{Description}
\begin{Usage}
\begin{verbatim}
createGOMatrix(cMembers)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{cMembers}] A named list consisting of vectors. Each list item is
named by a protein complex GO ID and points to a character vector
where each character vector consists of the proteins composing of
that protein complex.
\end{ldescription}
\end{Arguments}
\begin{Value}
A bipartite graph matrix of the corresponding GO protein complexes
where the rows are indexed by the protein names and the colunms by
GO ID's.
\end{Value}
\begin{Author}\relax
Tony Chiang
\end{Author}
\begin{Examples}
\begin{ExampleCode}
#cMembers = getGOInfo(wantAllComplexes = FALSE)
#createGOMatrix(cMembers)
\end{ExampleCode}
\end{Examples}

