A flexible function to initiate a BOWER class from a geneset file or a list of genesets.

bower(genesets, graph = NULL, clusters = NULL, ...)

Examples

gmt_file <- system.file("extdata", "h.all.v7.4.symbols.gmt", package = "bowerbird")
bwr <- bower(gmt_file)
#> Loading required namespace: S4Vectors
bwr
#> BOWER class
#> number of genesets:  50