tmod_ids {tmod}R 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

[Package tmod version 0.50.13 Index]