subClassNames            package:RBioinf            R Documentation

_F_u_n_c_t_i_o_n_s _t_o _r_e_t_u_r_n _t_h_e _n_a_m_e_s _o_f _e_i_t_h_e_r _s_u_b_c_l_a_s_s_e_s _o_r _s_u_p_e_r_c_l_a_s_s_e_s.

_D_e_s_c_r_i_p_t_i_o_n:

     Given the name of a S4 class, or a S4 classRepresentation object,
     these functions return either the names of the direct subclasses
     or of the direct superclasses.

_U_s_a_g_e:

     subClassNames(x)
     superClassNames(x)

_A_r_g_u_m_e_n_t_s:

       x: Either the name of a class, or an instance of 
          classRepresentation. 

_D_e_t_a_i_l_s:

     If a name is given then 'getClass' is used to get the  class
     representation object.

_V_a_l_u_e:

     A character vector, listing either the direct subclasses or the 
     direct superclasses, depending on which function was called.

_A_u_t_h_o_r(_s):

     R. Gentleman

_S_e_e _A_l_s_o:

     'getClass'

_E_x_a_m_p_l_e_s:

      subClassNames("matrix")
      superClassNames("matrix")

