View source: R/visualization.R
vis_network | R Documentation |
This function creates an improved network visualization of ABC connections that displays entity types when available, without enforcing type constraints.
vis_network(
abc_results,
top_n = 25,
min_score = 0.1,
show_significance = TRUE,
node_size_factor = 5,
color_by = "type",
title = "ABC Model Network",
show_entity_types = TRUE,
label_size = 1,
layout_seed = NULL
)
abc_results |
A data frame containing ABC results. |
top_n |
Number of top results to visualize. |
min_score |
Minimum score threshold for including connections. |
show_significance |
Logical. If TRUE, highlights significant connections. |
node_size_factor |
Factor for scaling node sizes. |
color_by |
Column to use for node colors. Default is 'type'. |
title |
Plot title. |
show_entity_types |
Logical. If TRUE, includes entity types in node labels. |
label_size |
Relative size for labels. Default is 1. |
layout_seed |
Optional seed for layout reproducibility. If NULL, no seed is set. |
NULL invisibly. The function creates a plot as a side effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.