Convert a hyp object to an igraph object
hyp_to_graph(hyp_obj)
hyp_obj | A hyp object |
---|
An igraph object
genesets <- hyperdb_rgsets("REACTOME", "70.0") signature <- c("IDH3B","DLST","PCK2","CS","PDHB","PCK1","PDHA1","LOC642502", "PDHA2","LOC283398","FH","SDHD","OGDH","SDHB","IDH3A","SDHC", "IDH2","IDH1","OGDHL","PC","SDHA","SUCLG1","SUCLA2","SUCLG2") hyp_obj <- hypeR(signature, genesets, background=2522) ig <- hyp_to_graph(hyp_obj)