Skip to contents

Function that writes contents of PCGR object to various output formats (Rmarkdown/flexdashboard HTML reports, JSON, tab-separated etc)

Usage

write_report_output(
  report,
  config,
  tier_model = "pcgr_acmg",
  output_format = "html",
  flexdb = FALSE
)

Arguments

report

List object with all report data (PCGR/CPSR)

config

Configuration object with all key configurations (directories, sample names, genome assembly etc)

tier_model

type of tier model

output_format

contents/file format of output (html/json/tsv/cna_tsv etc)

flexdb

logical indicating if HTML output should be dashboard