Subsetting GmtList object to fetch one gene-set
# S3 method for GmtList
[[(x, i)
Arguments
x |
A GmtList object |
i |
The index to subset |
Examples
myGmtList <- GmtList(list(gs1=letters[1:3], gs2=letters[3:4], gs3=letters[4:5]))
myGmtList[[1]]
#> $name
#> [1] "gs1"
#>
#> $desc
#> NULL
#>
#> $genes
#> [1] "a" "b" "c"
#>
#> $namespace
#> NULL
#>