blockmodeling.R - The code for the k-means blockmodeling of two-level SC networks. supportingFunctions.R - The supporting functions for k-means blockmodeling. networkData.RDS - The two-level SC network data with the corresponding covariates (i.e., scientific field). repairIgraph.R - The repair function for Igraph (it changes loop size). all.zip - All files together.