NetStats {CoNI}R Documentation

Network Statistics

Description

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

Usage

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

#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)

[Package CoNI version 0.1.0 Index]