Convert a tmod module set into a data frame
tmod2DataFrame(
mset,
rows = "modules",
module_col = "module_id",
feature_col = "feature_id",
sep = ","
)
a tmod object (e.g. generated by makeTmod)
if "modules", then there will be a row corresponding to each module (gene set); if "features", then there will be a row corresponding to each gene.
Name of the column with module (gene set) IDs
Name of the column with feature (gene) IDs
separator used to collate module IDs (if rows=="features") or feature IDs (if rows=="modules")
makeTmodGS
, makeTmod