\HeaderA{makeClustM}{Make an adjacency matrix for a cluster graph}{makeClustM}
\keyword{graphs}{makeClustM}
\begin{Description}\relax
This function takes a vector of cluster sizes and returns an adjacency matrix for a graph in which edges connect nodes if they are members of the same cluster.
\end{Description}
\begin{Usage}
\begin{verbatim}
makeClustM(nvec)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{nvec}] A vector of cluster sizes
\end{ldescription}
\end{Arguments}
\begin{Value}
A square adjacency matrix with the number of rows and columns equal to the sum of nvec.  An entry of "1" in the ith row and jth column indicates that node i and node j are members of the same cluster.  All other entries are "0".
\end{Value}
\begin{Author}\relax
Denise Scholtens
\end{Author}
\begin{References}\relax
Balasubramanian, et al. (2004) A graph theoretic approach to integromics - integrating disparate sources of functional genomics data.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{clust2Mat}{clust2Mat}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
a <- makeClustM(c(2,3,4))
\end{ExampleCode}
\end{Examples}

