Generates visualizations comparing edges of two networks.
Usage
plot_edges_comparison(
network_table,
ground_truth,
color_pattern = list(predicted = "gray", ground_truth = "#bb141a", overlap = "#1966ad",
total = "#6C757D")
)Examples
data(example_matrix)
data("example_ground_truth")
network_table <- inferCSN(example_matrix)
#> ℹ [2025-12-20 13:39:40] Inferring network for <dense matrix>...
#> ◌ [2025-12-20 13:39:40] Checking parameters...
#> ℹ [2025-12-20 13:39:40] Using "L0" sparse regression model
#> ℹ [2025-12-20 13:39:40] Using 1 core
#> ⠙ [2025-12-20 13:39:40] Running [1/18] Processing: g1 ETA: 0s
#> ✔ [2025-12-20 13:39:40] Completed 18 tasks in 158ms
#>
#> ℹ [2025-12-20 13:39:40] Building results
#> ✔ [2025-12-20 13:39:40] Building network done
plot_edges_comparison(
network_table,
example_ground_truth
)