Convert paired cluster comparison values to a matrix
convert_pair_matrix(pair.num, l = NULL, directed = FALSE)a named numeric vector of values. Names correspond to compared elements separted by "_", e.g. "c1_c2", "c23_c59"
labels for columns. Default is NULL, which will compute them from names(pair.num)
If FALSE (default), the first value in each pair will specify used as columns, with the second as rows. If TRUE, first values will be rows, and second will be columns.
a matrix containing values from pair.num, and named for each element separated by "_" in names(pair.num)