MS_nodeBW: Get distribution of node betweeness

Description Usage Arguments Value References Examples

View source: R/Other_support_functions.R

Description

This function calculates the betweenness of each node of the network.

Usage

1
MS_nodeBW(network_table, mode = "all", normalized = TRUE)

Arguments

network_table

three-column matrix where each row represents and edge between two nodes. See function "MS_keggNetwork( )".

mode

character constant indicating whether a directed ("out") or undirected ("all") network will be considered.

normalized

logical scalar indicating whether to normalize the betweeness scores. If TRUE, normalized betweenness scores will be returned. If FALSE, raw betweenness scores will be returned.

Value

A numeric vector containing the betweenness of each node of the network. The function also produces and histogram showing the distribution of node betweenness.

References

Csardi, G. & Nepusz, T. (2006). The igraph software package for complex network research. InterJournal, Complex Systems, 1695.

Examples

1
2

MetaboSignal documentation built on Nov. 8, 2020, 6 p.m.