mims-harvard/pathways

there seems mistakes in the script of communicty score calculation

yeqing97 opened this issue · 0 comments

截屏2021-06-17 下午7 49 25

Do you mean adjacency_matrix = nx.adjacency_matrix(nx_graph)?

Another place, in the final line, Do you mean disease_properties["normalized_cut"] = disease_properties["conductance"] + external_edges/(2*(num_total_edges-num_internal_edges)+external_edges)?