I wrote this because initial fetching from msigdbr can be slow, and also having some weird crashes in the unit tests of bioc3.14-devel.

randomGeneSetDb(x, n = 10, bias = NULL, ...)

Arguments

x

an input container to seas()

n

number of genesets

bias

column in x to bias the geneset creation by

...

pass through args

Value

A randomly generated GeneSetDb you can use against x for testing.

Details

This is a helper function for development, and shouldn't be used by normal users of this package.

Examples

gdb.rando <- randomGeneSetDb(exampleDgeResult(), 10, bias = "t")