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)

