getComponents          package:gene2pathway          R Documentation

_K_E_G_G _p_a_t_h_w_a_y _i_n_f_o_r_m_a_t_i_o_n

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

     1. get connected pathway components; 2. get all elements of a
     given pathway; 3. color certain elements in a pathway.

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

     getComponents(pathway.id)

     get.elements.by.pathway(pathway.id)

     color.pathway.by.elements(pathway.id, elements)

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

pathway.id: KEGG pathway ID, e.g. "path:hsa04012"

elements: KEGG element IDs: character vector of numbers

_D_e_t_a_i_l_s:

     All functions use the KEGG SOAP service.

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

     getComponents: a list with the entries 

 geneIDs: Entrez gene IDs mapping to each pathway component

 elemIDs: KEGG element IDs mapping to each pathway component


     get.elements.by.pathway: list, see <URL
     http://www.genome.jp/kegg/soap/doc/keggapi_manual.html> for
     details

     color.pathway.by.elements: an URL of a colored gif file, see <URL
     http://www.genome.jp/kegg/soap/doc/keggapi_manual.html> for
     details

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

     Holger Froehlich

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

     ## Not run: 
       comp = getComponents("path:hsa04020") # get all connected components
       color.pathway.by.elements("path:hsa04020", comp$elemIDs[[1]]) # mark first component
     ## End(Not run)

