visualize_correlations {CINNA}R Documentation

Correlation plot between centrality measures

Description

This function draw correlation plot between pair of centrality measures

Usage

visualize_correlations(x, scale = TRUE, method = "pearson")

Arguments

x

a list indicating calculated centrality measures

scale

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

method

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

Details

This function illustrates pairwise correlation plot of computed centrality measures. The names of centralities shown in the result plot is abbreviated and compelete names can be seen in "proper_centralities" function. Colors from red to blue indicate the intensity of correlation value. If two centrality measures have an inverse relationship then their correspnding color in plot have to be red and vice versa.

Value

The pairwise correlation plot

Author(s)

Minoo Ashtiani, Mehdi Mirzaie, Mohieddin Jafari

See Also

ggpairs


[Package CINNA version 1.1.55 Index]