CINNA (version 1.1.2)

print.visualize.correlations: Print centrality correlation plot

Description

This function prints a plot including all pairwise correlation between centrality measures

Usage

# S3 method for visualize.correlations
print(x, scale = TRUE,
  method = c("pearson", "kendall", "spearman"), file = NULL)

Arguments

x

a list indicating calculated centrality measures which is the output of "calculate_centralities" function

scale

Whether the centrality values should be scaled or not(default=TRUE)

method

character string describing the type of correlation coefficient (or covariance) to be computed. The proper values are "pearson", "kendall", or "spearman". (default="pearson")

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_correlationsfunction will be saved in the given directory.#' @importFrom igraph alpha.centrality