hmap {asymmetry} | R Documentation |
This heatmap displays the values of a skew-symmetric matrix by colors. The option dominance
orders the rows and columns of the matrix in such a way that the values in the uppertriangle are positive and the values in the lower triangle are negative. The order is calculated from the row-sums of the signs obtained from the skew-symmetric matrix.
hmap(x, dominance = FALSE, ...)
x |
A square matrix, either skew-symmetric or asymmetric, or an object of class |
dominance |
If true the signs of the skew-symmetric matrix are shown in the heatmap, if set to false the values in this matrix are shown. |
... |
Further plot arguments: see |
data(studentmigration) hmap(studentmigration, dominance = TRUE, col = c("red", "white", "blue"))