Write a formatted cell expression table to a sheet in an Excel workbook.

write_expression_sheet(
  wb,
  exprs,
  sheet_name = "Mean Expression",
  sheet_title = "Mean Expression"
)

Arguments

wb

An openxlsx Workbook from openxlsx::createWorkbook

exprs

A data frame with columns for Slide ID, Tissue Category, and mean expression, such as the output of compute_mean_expression_many. Count columns are not reported.

sheet_name

Optional name for the worksheet.

sheet_title

Optional title header for the table.