Calculates assortativity coefficient from matrix
computeStat(matrix, mode)
matrix with values, e.g. Spearman correlation or other tool output
assortativity score
Wrapper for igraph function that converts matrix to igraph object