Learn R Programming

XYomics (version 0.1.2)

generate_report: Generate a Comprehensive Analysis Report

Description

Creates an integrated HTML report combining differential expression results, enrichment analyses (GO, KEGG, GSEA), and gene regulatory network (GRN) data. Uses a parameterized R Markdown template for rendering.

Usage

generate_report(
  de_results,
  enrichment_results,
  grn_object,
  output_file = "analysis_report.html",
  template_path = NULL,
  params_list = list(),
  quiet = TRUE
)

Value

Character string with the path to the rendered report.

Arguments

de_results

Data frame or list with differential expression results.

enrichment_results

List of enrichment results (e.g., BP, MF, KEGG, GSEA).

grn_object

An igraph object of the gene regulatory network.

output_file

Output report name (default: "analysis_report.html").

template_path

Path to the R Markdown template. If NULL, uses the built-in template.

params_list

Named list of extra parameters passed to the R Markdown report.

quiet

Logical; if TRUE (default), rendering is quiet.