evaluate_significance {clustAnalytics} | R Documentation |
Evaluates significance of cluster algorithm results on a graph
Description
Given a graph and a list of clustering algorithms, computes several scoring functions on the clusters found by each of the algorithms.
Usage
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
)
Arguments
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 ( |
Value
A data frame with the values of scoring functions (see scoring_functions
)
of the clusters obtained by
applying the clustering algorithms to the graph.
Examples
data(karate, package="igraphdata")
evaluate_significance(karate)