View source: R/network_evaluation.R
plot_edges_comparison | R Documentation |
Generates visualizations comparing edges of two networks.
plot_edges_comparison(
network_table,
ground_truth,
color_pattern = list(predicted = "gray", ground_truth = "#bb141a", overlap = "#1966ad",
total = "#6C757D")
)
network_table |
A data frame of predicted network structure. |
ground_truth |
A data frame of ground truth network. |
color_pattern |
A list of colors for different categories, with default values:
|
A patchwork plot object containing network edge comparison and distribution plots
data("example_matrix")
data("example_ground_truth")
network_table <- inferCSN(example_matrix)
plot_edges_comparison(
network_table,
example_ground_truth
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.