write_counts_sheet: Write a cell counts table to an Excel workbook

Description Usage Arguments See Also

View source: R/excel_helpers.R

Description

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

Usage

1
2
3
4
5
6
write_counts_sheet(
  wb,
  counts,
  sheet_name = "Cell Counts",
  sheet_title = "Cell Counts per Phenotype"
)

Arguments

wb

An openxlsx Workbook from openxlsx::createWorkbook

counts

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

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_density_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.