Description Usage Arguments Value Examples
This function implements the multi-level regularized markov clustering. It uses flow simulation of a graph to find clusters.
1 2 3 4 |
g |
graph object of class |
r |
inflation parameter. A higher value yields more refined clusters. |
reg |
boolean value. When |
iter.max |
integer: maximum number of MCL iterations during phase 3 before the matrix is interpreted as a clustering. The function gives a warning when reached. |
n.threshold |
integer: number of nodes under which phase 1 stops the coarsening. |
last.reg |
boolean value. When |
eps |
integer: epsilon threshold for the pruning operation. During pruning, values under |
save.p1 |
string: a name for the storing a the graph hierarchy after the coarsening. A file will be saved at "./phase1/ |
load.p1 |
string: a name for loading the graph hierarchy. When not |
iter.curt |
integer: number of iteration of MCL during phase 2. |
coarse.weight |
boolean value. When |
init.weight.trans |
boolean value. When |
curt.weight.trans |
boolean value. When |
timer |
boolean value. When |
A vector of size n
describing the associated cluster of each node.
When timer=TRUE
, a list of two elements: res
the clustering vector and
time
a vector of size 3 with the duration of each phase in seconds.
1 2 | g = generateEdgeList(n = 1000)
clustering = ML_RMCL(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.