getSubTerms            package:biocViews            R Documentation

_R_e_t_r_i_e_v_e _a _t_e_r_m _a_n_d _i_t_s _c_h_i_l_d_r_e_n _f_r_o_m _a _v_o_c_a_b _D_A_G

_D_e_s_c_r_i_p_t_i_o_n:

     Given a Directed Acyclic Graph (DAG) represented as a 'graphNEL'
     instance, return a character vector consisting of the specified
     'term' and all of its descendants.  That is, give the list of
     terms for which a path exists starting at 'term'.

_U_s_a_g_e:

     getSubTerms(dag, term)

_A_r_g_u_m_e_n_t_s:

     dag: A 'graphNEL' representing a DAG

    term: A string giving a term in the vocabulary (a node in 'dag')

_V_a_l_u_e:

     A character vector of term names.

_A_u_t_h_o_r(_s):

     S. Falcon

_E_x_a_m_p_l_e_s:

     data(biocViewsVocab)
     getSubTerms(biocViewsVocab, "Software")

