Query and set IDs of gene sets in a tmodGS object
tmod_ids.Rd
Query and set IDs (tmod_id) or Titles (tmod_title) of gene sets in a tmodGS object
Examples
data(tmod)
mset <- tmod[ c("LI.M37.0", "LI.M75", "LI.M3") ]
tmod_ids(mset)
#> [1] "LI.M37.0" "LI.M75" "LI.M3"
tmod_ids(mset) <- c("em", "pstrem", "bzdrem")
tmod_titles(mset) <- c("foo", "bar", "baz")
mset$gs
#> # A tibble: 3 × 9
#> ID Title Category Annotated URL Source SourceID original.ID B
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <int>
#> 1 em foo immune Yes http://www… Li et… LI M37.0 347
#> 2 pstrem bar immune Yes http://www… Li et… LI M75 22
#> 3 bzdrem baz signaling Yes http://www… Li et… LI M3 47