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

