writeGmt                package:PGSEA                R Documentation

_w_r_i_t_e_G_m_t

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

     This function writes out SMC objects into .gmt file format

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

     writeGmt(fname, cl)

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

   fname: name of the file to be written out 

      cl: list of SMC objects 

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

     The .gmt file format is a tab delimited file format used to store
     gene lists. These gene lists are stored row by row. The first
     column is the gene set name. The second column is a brief
     description, and every entry after that is a gene within that gene
     set.

_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:

     <URL: http://www.broad.mit.edu/gsea/doc/data_formats.html#gmt >

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

     'readGmt'

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

             datadir <- system.file("data", package = "PGSEA")
             sample <- readGmt(file.path(datadir, "sample.gmt"))
             str(sample)

     ## Not run: 
             writeGmt(paste(datadir,"/output.gmt",sep=""),sample)
     ## End(Not run)

