network_indices: Calculate Indices (metrics) for Network

Description Usage Arguments Details Value Author(s) References Examples

Description

This function calculates a variety of indices for a network

Usage

1
network_indices(netGraph)

Arguments

netGraph

an object of class 'networkGraph', created by link{pmartRseq_igraph}

Details

A network graph is created for the network(s) that were generated.

Value

A list containing 1) Metrics - metric indices for the graph, and 2) Random - metric indices for a random graph to compare against.

Author(s)

Allison Thompson

References

Ju et al., 2014. Taxonomic relatedness shapes bacterial assembly in activated sludge of globally distributed wastewater treatment plants. Environ Microbiol. 2014 Aug;16(8):2421-32)

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(mintJansson)
data(rRNA_data)
mynetwork <- network_calc(omicsData = rRNA_data)
mygraph <- pmartRseq_igraph(netData = mynetwork, coeff=0.6, pval=NULL, qval=0.05)
myindices <- network_indices(netGraph = mygraph)

## End(Not run)

pmartR/pmartRseq documentation built on May 25, 2019, 9:20 a.m.