| hyp_show {hypeR} | R Documentation |
Convert hyper dataframe to an interactive datatable
hyp_show(df, simple = TRUE, stylish = FALSE)
df |
A hyper dataframe |
simple |
Use true to only include essential dataframe columns |
stylish |
Use true to add a bootstrap styling theme to datatable |
A datatable object
# Grab a list of curated gene sets
REACTOME <- ex_get("C2.CP.REACTOME")
# Genes involed in tricarboxylic acid cycle
symbols <- 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")
# Perform hyper enrichment
hyp <- hypeR(symbols, REACTOME, bg=2522, fdr=0.05)
# Export
hyp_show(hyp)