\HeaderA{recCompSize}{A function that records the relative sizes of complex C-i from
one bipartite graph with complex K-j from a different bipartite graph.}{recCompSize}
\keyword{datagen}{recCompSize}
\begin{Description}\relax
This function takes two bipartite graph matrices, bg1 and bg2. For
each complex C-i of bg1, we find the relative size of C-i for every
complex K-j of bg2. A matrix of these ratios is returned with all
cardinalities of C-i as the numerators and K-j as denominators. A
second matrix is calculated where the cardinality of K-j is the
numerator and C-i is the denominator.
\end{Description}
\begin{Usage}
\begin{verbatim}
recCompSize(bg1, bg2)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{bg1}] The first bipartite graph as an incidence matrix
\item[\code{bg2}] The second bipartite graph as an incidence matrix
\end{ldescription}
\end{Arguments}
\begin{Value}
The return value is a list:
\begin{ldescription}
\item[\code{OneOverTwo}] The matrix where the cardinalities of complexes from
bg1 are numerators.
\item[\code{TwoOverOne}] Matrix where cardinalities of complexes from bg2 are
numerators.
\end{ldescription}
\end{Value}
\begin{Author}\relax
Tony Chiang
\end{Author}
\begin{Examples}
\begin{ExampleCode}
#go = getGOInfo(wantAllComplexes = FALSE)
#goM = createGOMatrix(go)
#mips = getMipsInfo(wantSubComplexes = FALSE)
#mipsM = createMipsMatrix(mips)
#recCompSize(goM, mipsM)
\end{ExampleCode}
\end{Examples}

