Skip to contents

Plot dynamic networks

Usage

plot_static_networks(
  network_table,
  regulators = NULL,
  targets = NULL,
  legend_position = "right"
)

Arguments

network_table

The weight data table of network.

regulators

Regulators list.

targets

Targets list.

legend_position

The position of legend.

Value

A ggplot2 object

Examples

data(example_matrix)
network_table <- inferCSN(example_matrix)
#>  [2025-10-16 02:37:01] Running for <dense matrix>.
#>  [2025-10-16 02:37:01] Checking input parameters...
#>  [2025-10-16 02:37:01] Using `L0` sparse regression model
#>  [2025-10-16 02:37:01] Using 1 core
#>  [2025-10-16 02:37:01] Running [1/18] ETA:  0s
#>  [2025-10-16 02:37:01] Completed 18 tasks in 213ms
#> 
#>  [2025-10-16 02:37:01] Building results
#>  [2025-10-16 02:37:02] Run done.
plot_static_networks(
  network_table,
  regulators = "g1"
)

plot_static_networks(
  network_table,
  targets = "g1"
)

plot_static_networks(
  network_table,
  regulators = "g1",
  targets = "g2"
)