sponge_plot_network_centralities: plot node network centralities

View source: R/fn_network_centralities.R

sponge_plot_network_centralitiesR Documentation

plot node network centralities

Description

plot node network centralities

Usage

sponge_plot_network_centralities(
  network_centralities,
  measure = "all",
  x = "degree",
  top = 5,
  base_size = 18
)

Arguments

network_centralities

a result from sponge_node_centralities()

measure

one of 'all', 'degree', 'ev' or 'btw'

x

plot against another column in the data table, defaults to degree

top

label the top x samples in the plot

base_size

size of the text in the plot

Value

a plot

Examples

## Not run: 
network_centralities <- sponge_node_centralities(ceRNA_interactions)
sponge_plot_network_centralities(network_centralities)
## End(Not run)

mlist/SPONGE documentation built on Feb. 12, 2023, 1:22 a.m.