tmod_ids: Query and set IDs of gene sets in a tmodGS object

tmod_idsR Documentation

Query and set IDs of gene sets in a tmodGS object

Description

Query and set IDs (tmod_id) or Titles (tmod_title) of gene sets in a tmodGS object

Usage

tmod_ids(x)

tmod_ids(x) <- value

tmod_titles(x)

tmod_titles(x) <- value

Arguments

x

an object of class tmodGS

value

a character vector of unique IDs

Value

Returns character vector corresponding to x$gs$ID

Examples

data(tmod)
mset <- tmod[ c("LI.M37.0", "LI.M75", "LI.M3") ]
tmod_ids(mset)
tmod_ids(mset) <- c("em", "pstrem", "bzdrem")
tmod_titles(mset) <- c("foo", "bar", "baz")
mset$gs

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