wrapping tgs functions to compute balanced graph from a matrix
tgs_cor_graph(x, knn, k_expand, k_alpha, k_beta)
matrix
K parameter
expansion parameter
used to threshold blanaced scores (k_alpha*K > rank_in*rank_out0
used to threshold in-degree on k_beta*K before final thresholding of out-degree by K