CINNA (version 1.0.0)

visualize.correlations: Correlation plot between centrality values

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")

Value

The pairwise correlation plot

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.

See Also

ggpairs