gskey: Converts collection,name combination to key for geneset

Description Usage Value Examples

Description

The "key" form often comes out as rownames to matrices and such, or particularly for sending genesets down into wrapped methods, like do.camera.

Usage

1
2
3
encode_gskey(x, y, sep = ";;")

split_gskey(x, sep = ";;")

Value

a character vector

a data.frame with (collection,name) columns

Examples

1
2
3
gdf <- exampleGeneSetDF()
gskeys <- encode_gskey(gdf)
gscols <- split_gskey(gskeys)

lianos/multiGSEA documentation built on Nov. 17, 2020, 1:26 p.m.