R/network_visualization.R
plot_contrast_networks.Rd
Plot contrast networks
plot_contrast_networks( network_table, degree_value = 0, weight_value = 0, legend_position = "bottom" )
The weight data table of network.
Degree value to filter nodes.
Weight value to filter edges.
The position of legend.
A ggplot2 object
data("example_matrix") network_table <- inferCSN(example_matrix) #> ✔ Running for <dense matrix>. #> ✔ Checking input parameters. #> ✔ Using L0 sparse regression model. #> ✔ Using 1 core. #> ✔ Run done. plot_contrast_networks(network_table[1:50, ])