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))

