hyp_to_excel {hypeR}R Documentation

Export hyp/multihyp object to excel

Description

Export hyp/multihyp object to excel

Usage

hyp_to_excel(hyp_obj, file_path, cols = NULL)

Arguments

hyp_obj

A hyp or multihyp object

file_path

Output file path

cols

Dataframe columns to include

Value

None

Examples

gsets <- hyperdb_fetch(type="gsets", "KEGG_2019_Human")

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")

# Perform hyper enrichment
hyp_obj <- hypeR(signature, gsets, bg=2522, fdr_cutoff=0.05)

# Export
hyp_to_excel(hyp_obj, file_path="pathways.xlsx")


[Package hypeR version 1.2.0 Index]