print_visualize_correlations {CINNA}R Documentation

Print centrality correlation plot

Description

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

Usage

print_visualize_correlations(
  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

Author(s)

Minoo Ashtiani, Mehdi Mirzaie, Mohieddin Jafari


[Package CINNA version 1.1.55 Index]