notConn               package:GOstats               R Documentation

_F_i_n_d _g_e_n_e_s _t_h_a_t _a_r_e _n_o_t _c_o_n_n_e_c_t_e_d _t_o _t_h_e _o_t_h_e_r_s.

_D_e_s_c_r_i_p_t_i_o_n:

     A function that takes as input a distance matrix and finds those
     entries that are not connected to any others (ie. those with
     distance 'Inf'.

_U_s_a_g_e:

     notConn(dists)

_A_r_g_u_m_e_n_t_s:

   dists: A distance matrix.

_D_e_t_a_i_l_s:

     It is a very naive implementation. It presumes that not connected
     entries are not connected to any other entries, and this might not
     be true. Using the 'connComp' function from the 'graph' package or
     the 'RBGL' package might be a better approach.

_V_a_l_u_e:

     A vector of the names of the items that are not connected.

_A_u_t_h_o_r(_s):

     R. Gentleman

_S_e_e _A_l_s_o:

     'connComp'

_E_x_a_m_p_l_e_s:

      data(Ndists)
      notConn(Ndists)

