print_visualize_correlations {CINNA} | R Documentation |
This function prints a plot including all pairwise correlation between centrality measures
print_visualize_correlations( x, scale = TRUE, method = c("pearson", "kendall", "spearman"), file = NULL )
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) |
The resulted plot of visualize_correlations
function will be saved in the given directory.#' @importFrom igraph alpha.centrality
Minoo Ashtiani, Mehdi Mirzaie, Mohieddin Jafari