# NOT RUN {
# Create a two modules (having random structures and sizes) from a pool
# of 100 nodes.
create_modules_for_network(n_modules = 2, p = 100)
# Set n_modules = NULL to continue making modules until all nodes have
# been selected at least once.
create_modules_for_network(n_modules = NULL, p = 100)
# }
Run the code above in your browser using DataLab