Skip to contents

Plot coefficients for multiple targets

Usage

plot_coefficients(data, targets = NULL, nrow = NULL, ...)

Arguments

data

Input data.

targets

Targets to plot.

nrow

Number of rows for the plot.

...

Other arguments passed to plot_coefficient.

Value

A list of ggplot objects

Examples

data("example_matrix")
network_table <- inferCSN(
  example_matrix,
  targets = c("g1", "g2", "g3")
)
#>  [2025-06-17 13:47:10] Running for <dense matrix>.
#>  [2025-06-17 13:47:10] Checking input parameters.
#>  [2025-06-17 13:47:10] Using 3 target(s).
#>  [2025-06-17 13:47:10] Using L0 sparse regression model.
#>  [2025-06-17 13:47:10] Using 1 core
#>  [2025-06-17 13:47:10] Elapsed 0.02 sec
#>  [2025-06-17 13:47:10] Run done.
plot_coefficients(network_table, show_values = FALSE)

plot_coefficients(network_table, targets = "g1")