Calculates assortativity coefficient from matrix

computeStat(matrix, mode)

Arguments

matrix

matrix with values, e.g. Spearman correlation or other tool output

Value

assortativity score

Details

Wrapper for igraph function that converts matrix to igraph object