getBiocViews            package:biocViews            R Documentation

_B_u_i_l_d _a _l_i_s_t _o_f _B_i_o_c_V_i_e_w _o_b_j_e_c_t_s _f_r_o_m _a _p_a_c_k_a_g_e _r_e_p_o_s_i_t_o_r_y

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

     Given the URL to a CRAN-style package repository containing a
     'VIEWS' file at the top-level and a 'graph-class' object
     representing a DAG of views, this function returns a list of
     'BiocView-class' objects.

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

     getBiocViews(reposUrl, vocab, defaultView, local = FALSE)

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

reposUrl: URL for a CRAN-style repository that hosts a 'VIEWS' file at
          the top-level.

   vocab: A 'graph-class' object representing the ontologyof views. 
          This graph should be a directed acyclic graph (DAG).

defaultView: A string giving the term to use for packages that do not
          list a term of their own via the 'biocViews' field in the
          'DESCRIPTION' file.

   local: logical indicating whether to assume a local package
          repository.  The default is 'FALSE' in which case absolute
          links to package detail pages are created.

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

     A list of 'BiocView-class' objects.  The names of the list give
     the name of the corresponding view.

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

     Seth Falcon

_S_e_e _A_l_s_o:

     'link{write_VIEWS}', 'link{writeBiocViews}'

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

     data(biocViewsVocab)
     reposPath <- system.file("doc", package="biocViews")
     reposUrl <- paste("file://", reposPath, sep="")
     biocViews <- getBiocViews(reposUrl, biocViewsVocab, "NoViewProvided")
     print(biocViews[1:2])

