Description of the node degree calculation function.
degree(adj_matrix_func, adj_matrix_str, vertex_df)
a data frame to be incorporated into the network object
the adjacency matrix for functional connectivity
the adjacency matrix for structural connectivity
a data frame of node (or vertex) information
This is an ancillary function that calculates the functional and structural degree of each network node using the functional and structural adjacency matrices, respectively.