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