View source: R/ROBINWeighted.R
robinCompareFastWeight | R Documentation |
This function compares two community detection algorithms, from weighted networks. Is the parallelized and faster version.
robinCompareFastWeight(
graph,
method1 = c("walktrap", "edgeBetweenness", "fastGreedy", "leadingEigen", "louvain",
"spinglass", "labelProp", "infomap", "optimal", "leiden", "other"),
args1 = list(),
method2 = c("walktrap", "edgeBetweenness", "fastGreedy", "leadingEigen", "louvain",
"spinglass", "labelProp", "infomap", "optimal", "leiden", "other"),
args2 = list(),
FUN1 = NULL,
FUN2 = NULL,
measure = c("vi", "nmi", "split.join", "adjusted.rand"),
verbose = TRUE,
dist = "Other",
BPPARAM = BiocParallel::bpparam()
)
graph |
The output of prepGraph. |
method1 |
The first clustering method, one of "walktrap", "edgeBetweenness", "fastGreedy", "louvain", "spinglass", "leadingEigen", "labelProp", "infomap","optimal","leiden". |
args1 |
A |
method2 |
The second custering method one of "walktrap", "edgeBetweenness","fastGreedy", "louvain", "spinglass", "leadingEigen", "labelProp", "infomap","optimal","leiden". |
args2 |
A |
FUN1 |
personal designed function when method1 is "others".
see |
FUN2 |
personal designed function when method2 is "others".
see |
measure |
The stability measure, one of "vi", "nmi", "split.join", "adjusted.rand" all normalized and used as distances. "nmi" refers to 1- nmi and "adjusted.ran" refers to 1-adjusted.rand. |
verbose |
flag for verbose output (default as TRUE). |
dist |
Option to rewire in a manner that retains overall graph weight regardless of distribution of edge weights. This option is invoked by putting any text into this field. Defaults to "Other". See rewireR for details. |
BPPARAM |
the BiocParallel object of class |
A list object with two matrices: - the matrix "Mean1" with the means of the procedure for the first method - the matrix "Mean2" with the means of the procedure for the second method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.