View source: R/significance_functions.R
evaluate_significance | R Documentation |
Given a graph and a list of clustering algorithms, computes several scoring functions on the clusters found by each of the algorithms.
evaluate_significance(
g,
alg_list = list(Louvain = cluster_louvain, `label prop` = cluster_label_prop, walktrap
= cluster_walktrap),
no_clustering_coef = FALSE,
gt_clustering = NULL,
w_max = NULL
)
g |
Graph to be analyzed (as an |
alg_list |
List of clustering algorithms, which take an |
no_clustering_coef |
Logical. If |
gt_clustering |
Vector of integers that correspond to labels of the ground truth clustering. The scoring functions will be evaluated on it. |
w_max |
Numeric. Upper bound for edge weights. Should be generally left as default ( |
A data frame with the values of scoring functions (see scoring_functions
)
of the clusters obtained by
applying the clustering algorithms to the graph.
data(karate, package="igraphdata")
evaluate_significance(karate)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.