R/testing-helpers.R
randomGeneSetDb.Rd
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, ...)
an input container to seas()
number of genesets
column in x
to bias the geneset creation by
pass through args
A randomly generated GeneSetDb you can use against x
for testing.
This is a helper function for development, and shouldn't be used by normal users of this package.
gdb.rando <- randomGeneSetDb(exampleDgeResult(), 10, bias = "t")