Convert gene-set list into GeneSetCollection

gls2gsc(...)

# S4 method for list
gls2gsc(...)

# S4 method for vector
gls2gsc(...)

Arguments

...

vector of genes or list of genes

Value

GeneSetCollection

Examples

data("msigdb_gobp_nk")
gls2gsc(GSEABase::geneIds(msigdb_gobp_nk[1:3]))
#> GeneSetCollection
#>   names: HP_ABNORMAL_NATURAL_KILLER_CELL_MORPHOLOGY, HP_ABNORMAL_NATURAL_KILLER_CELL_PHYSIOLOGY, HP_REDUCED_NATURAL_KILLER_CELL_COUNT (3 total)
#>   unique identifiers: JAK3, RAG1, ..., WIPF1 (22 total)
#>   types in collection:
#>     geneIdType: NullIdentifier (1 total)
#>     collectionType: NullCollection (1 total)