Functionality for storing CORUM protein complex data in a list of graph instances.

corum2graphlist(corum.df, subunit.id.type = c("UNIPROT", "ENTREZID"))

Arguments

corum.df

A data.frame storing the CORUM protein complex data. Typically obtained via getCorum.

subunit.id.type

character. Supported options include "UNIPROT" (default) and "ENTREZID".

Value

A list with an entry for each complex. Each entry is an object of class graphNEL connecting all subunit IDs with each other by undirected edges.

Examples

 # (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)