makeClustM              package:GraphAT              R Documentation

_M_a_k_e _a_n _a_d_j_a_c_e_n_c_y _m_a_t_r_i_x _f_o_r _a _c_l_u_s_t_e_r _g_r_a_p_h

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     makeClustM(nvec)

_A_r_g_u_m_e_n_t_s:

    nvec: A vector of cluster sizes

_V_a_l_u_e:

     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".

_A_u_t_h_o_r(_s):

     Denise Scholtens

_R_e_f_e_r_e_n_c_e_s:

     Balasubramanian, et al. (2004) A graph theoretic approach to
     integromics - integrating disparate sources of functional genomics
     data.

_S_e_e _A_l_s_o:

     'clust2Mat'

_E_x_a_m_p_l_e_s:

     a <- makeClustM(c(2,3,4))

