readSBMLR               package:SBMLR               R Documentation

_C_o_n_v_e_r_t _a_n _S_B_M_L_R _f_i_l_e _i_n_t_o _a_n _R _m_o_d_e_l _o_b_j_e_c_t _o_f _c_l_a_s_s _S_B_M_L

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

     This function converts an SBMLR model definition in filename into
     a corresponding returned SBML model structure.

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

     readSBMLR(filename)

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

filename: An SBMLR model definition file. 

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

     A limited subset of SBML level 2 models is currently supported,
     e.g. events and  function definitions are not covered.

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

     A corresponding 'SBML' model object in R.

_N_o_t_e:

     This function replaces the use of 'source' in older versions of
     SBMLR.  It includes rate law and rule string to function,
     expression and MathML mappings.

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

     Tomas Radivoyevitch  (radivot@hal.cwru.edu)

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

     'readSBML'

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

     library(SBMLR)
     library(odesolve)
     curtoX=readSBML(file.path(system.file(package="SBMLR"), "models/curto.xml"))  
     curtoR=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r"))  
     equateModels(curtoX,curtoR)

