Function to convert a GSC in the form of a named list of vectors containing gene symbols
to a object of class tmod which was used by the tmod prior to version 0.50.11. This is
a wrapper for makeTmod() from the tmod package.
gsc2tmod(MODULES2GENES, MODULES = NULL, GENES = NULL)Returns a tmod object if the tmod package version '0.46.2' or earlier is
installed. If the tmod package version '0.50.11' or later is installed, it returns a
tmodGS object instead.
A named list of character vectors in which the vectors correspond to gene sets and contain gene symbols (or other gene identifiers) and the names are the corresponding gene set identifiers.
(optional) A data.frame containing an ID and a Title field
in the same order as the gene sets in MODULES2GENES. Furthermore, the row names should
(apparently) correspond to the IDs in the corresponding rows. If not provided, this will be generated
automatically.
(optional) A data frame with gene metadata. Must contain an ID column. If not provided, this will be generated automatically.
read_gmt() tmod2gsc()