encode_gskey {sparrow} | R Documentation |
The "key" form often comes out as rownames to matrices and such, or particularly for sending genesets down into wrapped methods, like do.camera.
splt_gskey
is the inverse function of encode_gskey()
encode_gskey(x, y, sep = ";;") split_gskey(x, sep = ";;")
x |
a character vector of encoded geneset keys from |
y |
if |
sep |
the separator used in the encoding of geneset names |
a character vector
a data.frame with (collection,name) columns
gdf <- exampleGeneSetDF() gskeys <- encode_gskey(gdf) gscols <- split_gskey(gskeys)