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-07-28 09:22:11] Running for <dense matrix>.
#>  [2025-07-28 09:22:11] Checking input parameters.
#>  [2025-07-28 09:22:11] Using L0 sparse regression model.
#>  [2025-07-28 09:22:11] Using 1 core
#> ⠙ [2025-07-28 09:22:11] Running [1/18] ETA:  0s
#>  [2025-07-28 09:22:11] Completed 18 tasks in 205ms
#> 
#>  [2025-07-28 09:22:12] Building results
#>  [2025-07-28 09:22:12] 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"
)