intactXML2Graph           package:Rintact           R Documentation

_A _f_u_n_c_t_i_o_n _t_h_a_t _t_a_k_e_s _a _v_e_c_t_o_r _o_f _I_n_t_A_c_t _X_M_L _f_i_l_e _n_a_m_e_s
_a_n_d _c_o_n_v_e_r_t_s _t_h_e_m _t_o _g_r_a_p_h _o_b_j_e_c_t_s.

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

     The 'intactXML2Graph' takes in a vector of related XML files and
     generates a graph object based on the type of XML file. In
     general, the entry of this function should be that data from one
     experiment  (this data might be divided into several XML files).
     If the XML file contains data that should not be combined into one
     single graph,  this function should not be called; the function 
     'separateXMLDataByExpt' should be used instead.

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

     intactXML2Graph(intactFiles, type="interaction", directed=TRUE)

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

intactFiles: A vector of IntAct XML file names. If the data  of a
          single experiment has been split into multiple XML files 
          (e.g. Ewing et al 2007), then each entry of the vector should
          contain one of these XML files. NB - different datasets
          should not be  put into the same vector.

    type: A character string which is either "interaction" if the XML
          file contains experimental physical data or "complex" if the 
          XML file contains curated protein complex membership data.

directed: A logical. User defined parameter so that the return value
          with either be a directed or undirected graph object.

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

     If type = "interaction," then a resulting intactGraph object is
     genertated on the aggregate of the XML files. If type = "complex,"
     then a resulting intactHyperGraph object is generated on the
     aggregate of the XML files.

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

     T Chiang

_R_e_f_e_r_e_n_c_e_s:

     Rintact: enabling computational analysis of molecular interaction
     data from the IntAct repository - Tony Chiang; Nianhua Li; Sandra
     Orchard; Samuel  Kerrien; Henning Hermjakob; Robert Gentleman;
     Wolfgang Huber Bioinformatics 2007; doi:
     10.1093/bioinformatics/btm518.

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

     'interactionEntry-class', 'complexEntry-class',        
     'separateXMLDataByExpt'

