writeSmc                package:PGSEA                R Documentation

_w_r_i_t_e_S_m_c

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

     This function will write out SMC objects to individual text files

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

     writeSmc(x)

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

       x: an object of class SMC  

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

     The file name is determined by the reference slot of the SMC
     object.

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

     Kyle Furge <kyle.furge@vai.org> and Karl Dykema
     <karl.dykema@vai.org>

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

     'writeSmc'

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

     datadir <- system.file("data", package = "PGSEA")
     sample <- readGmt(file.path(datadir, "sample.gmt"))
     str(sample)
     sample[[1]]@reference <- "fileName"

     ## Not run: 
             writeSmc(sample[[1]])
     ## End(Not run)

