saveSBMLR               package:SBMLR               R Documentation

_S_a_v_e _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 _a_s _a_n _S_B_M_L_R _f_i_l_e

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

     This function converts 'SBML' model object in R into an SBMLR
     model definition file.

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

     saveSBMLR(model,filename)

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

   model: The 'SBML' model object to be mapped into the SBMLR model
          definition file. 

filename: The file name of the destination SBMLR model definition file.            

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

     No value returned.

_W_a_r_n_i_n_g:

     SBML events and function definitions are NOT implemented.

_N_o_t_e:

     Similar to saveSBML, the file is written incrementally.

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

     Tomas Radivoyevitch  (radivot@hal.cwru.edu)

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

     Radivoyevitch, T. A two-way interface between limited Systems
     Biology Markup Language and R. BMC Bioinformatics 5, 190 (2004).

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

     'saveSBML'

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

     library(SBMLR)
     library(odesolve)
     curto=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r"))  
     saveSBMLR(curto,file.path(system.file(package="SBMLR"), "models/curtoR.r"))  
     curtoR=readSBMLR(file.path(system.file(package="SBMLR"), "models/curtoR.r"))  

     curto==curtoR

