hasSubunit {BioPlex} | R Documentation |
Screens a list
of graph
instances storing
CORUM protein complex data for a subunit of choice.
hasSubunit(glist, subunit, id.type = "SYMBOL")
glist |
A |
subunit |
character. A gene ID corresponding to the subunit of interest. |
id.type |
character. Gene ID type of the given subunit. Defaults to |
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") # (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")