Plot coefficients for multiple targets
plot_coefficients(data, targets = NULL, nrow = NULL, ...)
Input data.
Targets to plot.
Number of rows for the plot.
Other arguments passed to plot_coefficient
.
A list of ggplot objects
data("example_matrix")
network_table <- inferCSN(
example_matrix,
targets = c("g1", "g2", "g3")
)
#> ℹ [2025-05-28 02:35:19] Running for <dense matrix>.
#> ℹ [2025-05-28 02:35:19] Checking input parameters.
#> ℹ [2025-05-28 02:35:19] Using 3 target(s).
#> ℹ [2025-05-28 02:35:19] Using L0 sparse regression model.
#> ℹ [2025-05-28 02:35:19] Using 1 core
#> ✔ [2025-05-28 02:35:19] Run done.
plot_coefficients(network_table, show_values = FALSE)
plot_coefficients(network_table, targets = "g1")