Learn R Programming

inferCSN (version 1.2.0)

plot_coefficients: Plot coefficients for multiple targets

Description

Plot coefficients for multiple targets

Usage

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

Value

A list of ggplot objects

Arguments

data

Input data.

targets

Targets to plot. Default is `NULL`.

nrow

Number of rows for the plot. Default is `NULL`.

...

Other arguments passed to [plot_coefficient].

Examples

Run this code
data(example_matrix)
network_table <- inferCSN(
  example_matrix,
  targets = c("g1", "g2", "g3")
)
plot_coefficients(network_table, show_values = FALSE)
plot_coefficients(network_table, targets = "g1")

Run the code above in your browser using DataLab