write_h_score_sheet: Write an H-Score table to an Excel workbook

Description Usage Arguments See Also

View source: R/excel_helpers.R

Description

Write a formatted H-Score table to a sheet in an Excel workbook.

Usage

1
2
3
4
5
6
7
write_h_score_sheet(
  wb,
  h_score,
  sheet_name = NULL,
  sheet_title = NULL,
  marker = NULL
)

Arguments

wb

An openxlsx Workbook from openxlsx::createWorkbook

h_score

A data frame with columns for Slide ID, Tissue Category, and percent, such as the output of compute_h_score.

sheet_name

Optional name for the worksheet.

sheet_title

Optional title header for the table. If omitted, the title will be inferred from the h_score data if possible.

marker

Optional marker name to add to the default sheet title. Ignored if sheet_title is provided.

See Also

Other output functions: write_count_within_sheet(), write_counts_sheet(), write_density_sheet(), write_expression_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.