This function adds an annotated pathways table to an Excel workbook with appropriate formatting and styles.

add_table_to_workbook(annot_table, wb, sheet_name, tab_color)

Arguments

annot_table

A data.frame or data.table with the annotated pathways data.

wb

A workbook object created by openxlsx::createWorkbook().

sheet_name

A character string specifying the worksheet name.

tab_color

A character string representing the hex color code for the worksheet tab.

Value

This function does not return a value; it modifies the workbook object in place.