Builds a comprehensive HTML report for Module 2 run parameters, CraftGRN multiomic input handoff, TF-target and FP-target correlation filters, candidate source and distance-to-TSS evidence, final TF-FP-target links, condition activity, CraftGRN multiomic condition context, warning checks, integrity checks, and related browser reports.
Usage
build_module2_qc_report(
module2,
multiomic_data = NULL,
output_dir = NULL,
report_name = "module2_qc_report.html",
scan_large_tables = TRUE,
validate_integrity = TRUE,
top_n = 20L,
verbose = TRUE
)Arguments
- module2
Module 2 result list, loaded Module 2 list, or output directory.
- multiomic_data
Optional CraftGRN multiomic object used for context.
- output_dir
Directory where the HTML report should be written. If `NULL`, the report is written under `reports` inside the Module 2 output directory when available.
- report_name
HTML report filename.
- scan_large_tables
Logical; if `TRUE`, scan candidate and link chunks for top-TF, distance, and integrity summaries.
- validate_integrity
Logical; if `TRUE`, verify final links against passing TF-target and FP-target keys while scanning link chunks.
- top_n
Number of TFs to show in top-TF summaries.
- verbose
Emit concise progress messages.