print.visualize.dendrogram: Print dendrogram plot of a graph

print.visualize.dendrogramR Documentation

Print dendrogram plot of a graph

Description

This function prints dendrogram plot of a graph based on predefined centrality measures.

Usage

## S3 method for class 'visualize.dendrogram'
print(x, centrality.type = "Degree Centrality",
  computed_centrality_value = NULL, k = 4, file = NULL)

Arguments

x

an igraph object

centrality.type

The type of centrality which should be calculated(default="Degree Centrality")

computed_centrality_value

A vector containing the values of calculated centrality measure for each node(default=NULL)

k

number of clusters

file

A character string naming the .pdf file to print into. If NULL the result would be printed to the exist directory.(default=NULL)

Value

The resulted plot of visualize_dendrogramfunction will be saved in the given directory.#' @importFrom igraph alpha.centrality

Author(s)

Minoo Ashtiani, Mohieddin Jafari


jafarilab/CINNA documentation built on Aug. 19, 2023, 4:49 p.m.