hyp_to_excel: Export hyp/multihyp object to excel

View source: R/hyp_to_excel.R

hyp_to_excelR Documentation

Export hyp/multihyp object to excel

Description

Export hyp/multihyp object to excel

Usage

hyp_to_excel(hyp_obj, file_path, cols = NULL, versioning = TRUE)

Arguments

hyp_obj

A hyp or multihyp object

file_path

A file path

cols

Dataframe columns to include

versioning

Add sheet with versioning information

Examples

genesets <- msigdb_gsets("Homo sapiens", "C2", "CP:KEGG")

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)

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


montilab/hypeR documentation built on Oct. 29, 2023, 12:01 p.m.