writeTopLevelView         package:biocViews         R Documentation

_W_r_i_t_e _t_h_e _v_i_e_w _f_o_r _t_h_e _r_o_o_t _o_f _a _v_o_c_a_b_u_l_a_r_y _t_o _d_i_s_k

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

     Given a directory and a vocabulary represented as a 'graphNEL'
     containing a DAG of terms, write the top-level term to disk as
     HTML.

     This assumes your vocabulary has a single term with no parents.

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

     writeTopLevelView(dir, vocab)

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

     dir: A string giving a directory in which to write the HTML file

   vocab: A 'graphNEL' instance giving the DAG of terms.  It should
          have a root node.  That is, there should be exactly one node
          with no incoming edges.

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

     S. Falcon

