This function creates a network visualization from ABC results.
Usage
plot_network(
results,
output_file = "network.png",
width = 1200,
height = 900,
resolution = 120,
top_n = 15,
min_score = 1e-04,
node_size_factor = 5,
color_by = "type",
title = "Network Visualization",
show_entity_types = TRUE,
label_size = 1,
verbose = TRUE
)
Arguments
- results
The results to visualize
- output_file
Filename for the output PNG (default: "network.png")
- width
Width of the output image (default: 1200)
- height
Height of the output image (default: 900)
- resolution
Resolution of the output image (default: 120)
- top_n
Maximum number of results to include (default: 15)
- min_score
Minimum score threshold (default: 0.0001)
- node_size_factor
Factor for scaling node sizes (default: 5)
- color_by
Column to use for node colors (default: "type")
- title
Plot title (default: "Network Visualization")
- show_entity_types
Logical; if TRUE, show entity types (default: TRUE)
- label_size
Relative size for labels (default: 1.0)
- verbose
Logical; if TRUE, print status messages (default: TRUE)