degree {CommKern}R Documentation

Node degree calculation

Description

Description of the node degree calculation function.

Usage

degree(adj_matrix_func, adj_matrix_str, vertex_df)

Arguments

adj_matrix_func

the adjacency matrix for functional connectivity

adj_matrix_str

the adjacency matrix for structural connectivity

vertex_df

a data frame of node (or vertex) information

Details

This is an ancillary function that calculates the functional and structural degree of each network node using the functional and structural adjacency matrices, respectively.

Value

a data frame to be incorporated into the network object


[Package CommKern version 1.0.1 Index]