Create PVC HTML report from statistical PVC results
Source:R/create_pvc_report.R
create_pvc_report.RdGenerates per-feature PVC plots and writes an HTML report to disk from the
statistical output of find_pvc(). This function does not recompute any
statistics; it consumes pvc_results (including its attributes) and the
original input data stored in splineomics.
Arguments
- splineomics
list: Preprocessed time-series input. Must include at leastdata,meta,annotation,condition,meta_batch_column,meta_batch2_column(optional),report_info, andfeature_name_columns.- pvc_results
list: Output fromfind_pvc(), a named list by condition level. Each level must containalphaandpvc_adj_pvals. Attributespadjust_methodandsupportare used for report header settings.- plot_info
list: Plot annotation options passed toplot_pvc(). Seefind_pvc()for the expected structure. Treatment annotations are applied per condition level iftreatment_labelsandtreatment_timepointsare provided.- verbose
Boolean flag indicating if messages should be shown.
- report_dir
character(1): Output directory for the HTML report and any associated files.