Learn R Programming

PathwayVote (version 0.1.3)

write_enrich_results_xlsx: Export Enrichment Results to Excel

Description

Exports the results from `pathway_vote` to a multi-sheet Excel file. Validates that the input is a list, checks for the `openxlsx` package, and handles sheet naming to comply with Excel limitations.

Usage

write_enrich_results_xlsx(results, file = "enrich_results.xlsx")

Value

Invisible. The path to the saved file.

Arguments

results

A named list of data.frames (e.g., output from `pathway_vote`).

file

Character. Output file path (e.g., "enrich_results.xlsx").

Examples

Run this code
if (FALSE) {
# Assuming `res` is the output from pathway_vote(...)
write_enrich_results_xlsx(res, "my_results.xlsx")
}

Run the code above in your browser using DataLab