tmod2DataFrame: Convert a tmod module set into a data frame

View source: R/importexport.R

tmod2DataFrameR Documentation

Convert a tmod module set into a data frame

Description

Convert a tmod module set into a data frame

Usage

tmod2DataFrame(
  mset,
  rows = "modules",
  module_col = "module_id",
  feature_col = "feature_id",
  sep = ","
)

Arguments

mset

a tmod object (e.g. generated by makeTmod)

rows

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.

module_col

Name of the column with module (gene set) IDs

feature_col

Name of the column with feature (gene) IDs

sep

separator used to collate module IDs (if rows=="features") or feature IDs (if rows=="modules")

See Also

makeTmodGS, makeTmod


tmod documentation built on March 31, 2023, 9 p.m.