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-05-07 09:38:54] Running for <dense matrix>.
#>  [2025-05-07 09:38:54] Checking input parameters.
#>  [2025-05-07 09:38:54] Using L0 sparse regression model.
#>  [2025-05-07 09:38:54] Using 1 core
#>  [2025-05-07 09:38:54] 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"
)