This function prints dendrogram plot of a graph based on predefined centrality measures.
# S3 method for visualize.dendrogram
print(x, centrality.type = "Degree Centrality",
computed_centrality_value = NULL, k = 4, file = NULL)
an igraph object
The type of centrality which should be calculated(default="Degree Centrality")
A vector containing the values of calculated centrality measure for each node(default=NULL)
number of clusters
A character string naming the .pdf file to print into. If NULL the result would be printed to the exist directory.(default=NULL)
The resulted plot of visualize_dendrogram
function will be saved in the given directory.#' @importFrom igraph alpha.centrality