write_gmt {cmapR} | R Documentation |
Write a nested list to a GMT file
write_gmt(lst, fname)
lst |
the nested list to write. See |
fname |
the desired file name |
lst
needs to be a nested list where each
sub-list is itself a list with the following fields:
- head
: the name of the data
- desc
: description of the corresponding data
- len
: the number of data items
- entry
: a vector of the data items
silently returns NULL
Visit http://clue.io/help for details on the GMT file format
Other CMap parsing functions:
lxb2mat()
,
parse.gmt()
,
parse.gmx()
,
parse.grp()
,
write_grp()
## Not run: write_gmt(gene_set, "gene_set.gmt") ## End(Not run)