Learn R Programming

inferCSN (version 1.2.0)

plot_contrast_networks: Plot contrast networks

Description

Plot contrast networks

Usage

plot_contrast_networks(
  network_table,
  degree_value = 0,
  weight_value = 0,
  legend_position = "bottom"
)

Value

A ggplot2 object.

Arguments

network_table

The weight data table of network.

degree_value

Degree value to filter nodes. Default is 0.

weight_value

Weight value to filter edges. Default is 0.

legend_position

The position of legend. Default is "bottom".

Examples

Run this code
data(example_matrix)
network_table <- inferCSN(example_matrix)
plot_contrast_networks(network_table[1:50, ])

Run the code above in your browser using DataLab