\HeaderA{createGODataFrame}{A function to create a Dataframe from the GO protein complexes}{createGODataFrame}
\keyword{datagen}{createGODataFrame}
\begin{Description}\relax
This function takes a named list (the names are the GO ID's
representing some protein complex and the list elements are character
vectors consisting of the members of each particular complex) and an
Bipartite Graph Incidence Matrix and creates a dataframe with three
columns: complex name, GO ID, and complex description.
\end{Description}
\begin{Usage}
\begin{verbatim}
createGODataFrame(cMembers, goMat)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{cMembers}] Named list with GO ID's as names and character vector
consisting of proteins of the respective complex
\item[\code{goMat}] Bipartite Graph Incidence Matrix
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This function takes the output parameters of
\code{\LinkA{createGOMatrix}{createGOMatrix}} and \code{\LinkA{getGOInfo}{getGOInfo}} and creates
the bipartite graph incidence matrix.
\end{Details}
\begin{Value}
Dataframe:
\begin{ldescription}
\item[\code{names}] The names of the GO Complexes
\item[\code{ID}] The GO IDs' of the complexes
\item[\code{description}] The description give by GO
\end{ldescription}
\end{Value}
\begin{Author}\relax
Tony Chiang
\end{Author}
\begin{References}\relax
www.geneontology.org
\end{References}
\begin{Examples}
\begin{ExampleCode}
#go = getGOInfo(wantAllComplexes = FALSE)
#goM = createGOMatrix(go)
#createGODF(go, goM)
\end{ExampleCode}
\end{Examples}

