hasGeneSet: Check to see if the GeneSetDb has a collection,name GeneSet...

View source: R/GeneSetDb-methods.R

hasGeneSetR Documentation

Check to see if the GeneSetDb has a collection,name GeneSet defined

Description

Check to see if the GeneSetDb has a collection,name GeneSet defined

Usage

hasGeneSet(x, collection, name, as.error = FALSE)

Arguments

x

GeneSetDb

collection

character indicating the collection

name

character indicating the name of the geneset

as.error

If TRUE, a test for the existance of the geneset will throw an error if the geneset does not exist

Value

logical indicating whether or not the geneset is defined.

Examples

gdb <- exampleGeneSetDb()
hasGeneSet(gdb, c('c2', 'c7'), c('BIOCARTA_AGPCR_PATHWAY', 'something'))

lianos/sparrow documentation built on Nov. 18, 2024, 7:14 a.m.