Screens a list
of graph
instances storing
CORUM protein complex data for a subunit of choice.
hasSubunit(glist, subunit, id.type = "SYMBOL")
A list
of graph
s storing CORUM complexes.
Typically obtained via corum2graphlist
.
character. A gene ID corresponding to the subunit of interest.
character. Gene ID type of the given subunit. Defaults to "SYMBOL"
.
A logical vector indicating which graphs have a node with the given subunit.
# (1) Obtain the core set of CORUM complexes ...
core <- getCorum(set = "core")
#> Using cached version from 2023-02-26 15:10:34
# (2) ... turn into a list of graphs ...
core.glist <- corum2graphlist(core)
# (3) .. check for a particular subunit of interest
has.cdk2 <- hasSubunit(core.glist, subunit = "CDK2")