Description Usage Arguments Details Value Author(s) Examples
This function detects modules for a network.
1 | detect_modules(netGraph, cluster = "louvain", cutoff = 5)
|
netGraph |
an object of class 'networkGraph', created by |
cluster |
which clustering method to use. Must be one of 'edge_betweenness', 'fast_greedy', 'infomap', 'label_prop', 'leading_eigen', 'louvain', 'optimal', 'spinglass', or 'walktrap'. Default is 'louvain'. |
cutoff |
Any modules which come back with a total of less than this number of members will all be grouped together. |
A network graph is created for the network(s) that were generated.
An object of class 'modData', with group designations for every vertex in the graph.
Allison Thompson
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)
mymods <- detect_modules(netGraph = mygraph)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.