NetStats: Network Statistics

Description Usage Arguments Value Examples

Description

This function calculates simple network statistics and returns them as a dataframe

Usage

1
NetStats(Network)

Arguments

Network

An Igraph network

Value

Returns a data.frame with nine rows with the following network statistics:

For more information on the statistics consult the igraph package.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#Load color nodes table
data(MetColorTable)
#Assign colors according to "Class" column
MetColorTable<-assign_colorsAnnotation(MetColorTable)
#Load CoNI results
data(CoNIResultsHFDToy)

#Generate Network
HFDNetwork<-generate_network(ResultsCoNI = CoNIResultsHFDToy,
                             colorVertexNetwork = TRUE,
                             colorVertexTable = MetColorTable,
                             outputDir = "./",
                             outputFileName = "HFD",
                             saveFiles = FALSE)
NetStats(HFDNetwork)

CoNI documentation built on Sept. 30, 2021, 5:09 p.m.

Related to NetStats in CoNI...