readGmt                package:PGSEA                R Documentation

_r_e_a_d_G_m_t

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

     This function will read a "gmt" file into R, returning results as
     a list of SMC objects.

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

     readGmt(fname)

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

   fname: File name of concepts in .gmt format 

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

_V_a_l_u_e:

     A list of SMC objects

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

     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:

     'writeGmt'

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

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

