CellNetwork.network_degree_matrix
- CellNetwork.network_degree_matrix(rtype='array')
Creates a node degree matrix from a Network datastructure.
- Parameters
network (obj) – Network datastructure object to get data from.
rtype ({‘array’, ‘csc’, ‘csr’, ‘coo’, ‘list’}) – Format of the result.
- Returns
array-like – Constructed node degree matrix.