export_chord_diagram: Export interactive HTML chord diagram for ABC connections

View source: R/visualization.R

export_chord_diagramR Documentation

Export interactive HTML chord diagram for ABC connections

Description

This function creates an HTML chord diagram visualization for ABC connections, properly coloring the arcs based on whether each term is an A, B, or C term.

Usage

export_chord_diagram(
  abc_results,
  output_file = "abc_chord.html",
  top_n = 50,
  min_score = 0.1,
  open = TRUE,
  layout_seed = NULL
)

Arguments

abc_results

A data frame containing ABC results.

output_file

File path for the output HTML file.

top_n

Number of top results to visualize.

min_score

Minimum score threshold for including connections.

open

Logical. If TRUE, opens the HTML file after creation.

layout_seed

Optional seed for layout reproducibility. If NULL, no seed is set.

Value

The file path of the created HTML file (invisibly).


LBDiscover documentation built on June 16, 2025, 5:09 p.m.