Algorithm 1:
Difference Degree Test
| 1: Construct difference network |
| 2: Obtain first and second moments of , that is, and |
| 3: Generate U null Difference Networks, based on and |
| 4: Apply the adaptive threshold selection method to find the threshold, γ |
| 5: Apply threshold to to obtain the difference adjacency matrix and di for node i |
| 6: Generate the null distribution for . See Equation (7) for the form of |
| 7: Assess the statistical significance of the number of DWEs at node i. |