readSmc                package:PGSEA                R Documentation

_R_e_a_d _S_M_C _f_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function reads in SMCs (simple molecular concepts) from
     individual text files.

_U_s_a_g_e:

     readSmc(files)

_A_r_g_u_m_e_n_t_s:

   files: a character vector of file names 

_V_a_l_u_e:

     A list of SMC objects

_A_u_t_h_o_r(_s):

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

_R_e_f_e_r_e_n_c_e_s:

     ??

_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]])
             smc <- readSmc("fileName-0.txt")
     ## End(Not run)

