R/corum.R
corum2graphlist.RdFunctionality for storing CORUM protein complex data in a
list of graph instances.
corum2graphlist(corum.df, subunit.id.type = c("UNIPROT", "ENTREZID"))A data.frame storing the CORUM protein complex data.
Typically obtained via getCorum.
character. Supported options include "UNIPROT"
(default) and "ENTREZID".
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.
# (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)