Enumerate all subnetworks of size <= max.size from given network.
Usage
get_subnets(net.matrix, max.size = 2)
Arguments
net.matrix
The adjacent matrix of network
max.size
The maximal size of subnetworks
Value
A list of generated subnetworks, with element $i$ corresponds the subnetworks
of size $i$. Each element is a matrix, in which each row represents a subnetwork.