brainconn.utils.visualization¶
Tools for visualizing graphs.
Functions
adjacency_plot_und (A, coor[, tube]) |
This function in matlab is a visualization helper which translates an adjacency matrix and an Nx3 matrix of spatial coordinates, and plots a 3D isometric network connecting the undirected unweighted nodes using a specific plotting format. |
align_matrices (m1, m2[, dfun, verbose, H, …]) |
This function aligns two matrices relative to one another by reordering the nodes in M2. |
backbone_wu (CIJ, avgdeg) |
The network backbone contains the dominant connections in the network and may be used to aid network visualization. |
grid_communities (c) |
(X,Y,INDSORT) = GRID_COMMUNITIES(C) takes a vector of community assignments C and returns three output arguments for visualizing the communities. |
reorderMAT (m[, H, cost]) |
This function reorders the connectivity matrix in order to place more edges closer to the diagonal. |
reorder_matrix (m1[, cost, verbose, H, Texp, …]) |
This function rearranges the nodes in matrix M1 such that the matrix elements are squeezed along the main diagonal. |
reorder_mod (A, ci) |
This function reorders the connectivity matrix by modular structure and may hence be useful in visualization of modular structure. |
writetoPAJ (CIJ, fname, directed) |
This function writes a Pajek .net file from a numpy matrix |