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)

