Write a formatted cell counts table to a sheet in an Excel workbook.
write_counts_sheet(
wb,
counts,
sheet_name = "Cell Counts",
sheet_title = "Cell Counts per Phenotype"
)
An openxlsx Workbook from openxlsx::createWorkbook
A data frame with columns for Slide ID
, Tissue Category
,
and counts, such as the output of count_phenotypes.
Optional name for the worksheet.
Optional title header for the table.
Other output functions:
write_count_within_sheet()
,
write_density_sheet()
,
write_expression_sheet()
,
write_h_score_sheet()
,
write_nearest_neighbor_summary_sheet()
,
write_percents_sheet()
,
write_plot_sheet()
,
write_summary_sheet()