Skip to contents

Plot contrast networks

Usage

plot_contrast_networks(
  network_table,
  degree_value = 0,
  weight_value = 0,
  legend_position = "bottom"
)

Arguments

network_table

The weight data table of network.

degree_value

Degree value to filter nodes.

weight_value

Weight value to filter edges.

legend_position

The position of legend.

Value

A ggplot2 object

Examples

data("example_matrix")
network_table <- inferCSN(example_matrix)
#>  [2025-05-07 09:38:41] Running for <dense matrix>.
#>  [2025-05-07 09:38:41] Checking input parameters.
#>  [2025-05-07 09:38:41] Using L0 sparse regression model.
#>  [2025-05-07 09:38:41] Using 1 core
#>  [2025-05-07 09:38:41] Run done.
plot_contrast_networks(network_table[1:50, ])