R/GeneSetDb-methods.R
hasGeneSet.Rd
Check to see if the GeneSetDb has a collection,name GeneSet defined
hasGeneSet(x, collection, name, as.error = FALSE)
logical indicating whether or not the geneset is defined.
gdb <- exampleGeneSetDb()
hasGeneSet(gdb, c('c2', 'c7'), c('BIOCARTA_AGPCR_PATHWAY', 'something'))
#> [1] TRUE FALSE