write_density_sheet: Write a density table to an Excel workbook

Description Usage Arguments See Also

View source: R/excel_helpers.R

Description

Write a formatted density table to a sheet in an Excel workbook.

Usage

1
2
3
4
5
6
write_density_sheet(
  wb,
  densities,
  sheet_name = "Cell Densities",
  sheet_title = "Cell Densities (cells/mm2)"
)

Arguments

wb

An openxlsx Workbook from openxlsx::createWorkbook

densities

A data frame with columns for Slide ID, Tissue Category, Tissue Area and densities, such as the output of compute_density_from_table.

sheet_name

Optional name for the worksheet.

sheet_title

Optional title header for the table.

See Also

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()


akoyabio/phenoptrReports documentation built on Jan. 17, 2022, 6:22 p.m.