hasGeneSetCollection {sparrow} | R Documentation |
GeneSetDb
Check if a collection exists in the GeneSetDb
hasGeneSetCollection(x, collection, as.error = FALSE)
x |
|
collection |
character vector of name(s) of the collections to query |
as.error |
logical if TRUE, this will error instead of returning FALSE |
logical indicating if this collection exists
gdb <- exampleGeneSetDb() hasGeneSetCollection(gdb, "c2") hasGeneSetCollection(gdb, "unknown collection")