network: An igraph graph object consisting of observed network
n_simulations: Number of sub-samples to be obtained at each level
subsampling_proportion: A vector depicting proportions of sub-sampled nodes
network_metrics_functions_list: A list consisting of function definitions of the network metrics that the user wants to evaluate. Each element in the list should have an assigned name. Each function definition should include two parameters, one for the main network and another one for the subnetwork. See default example. Default = c("degree" = function(net, sub_net) igraph::degree(net, v = igraph::V(sub_net)name),"strength"=function(net,subnet)igraph::strength(net,v=igraph::V(subnet)name), "betweenness" = function(net, sub_net) igraph::betweenness(net, v = igraph::V(sub_net)name),"clusteringcoefficient"=function(net,subnet)igraph::transitivity(net,type="local",vids=igraph::V(subnet)name), "eigenvector_centrality" = function(net, sub_net) igraph::eigen_centrality(net)vector[igraph::V(subnet)name])
Returns
A list of network metrics of class list_correlation_matrices. Each element of list is a matrix whose columns correspond to subsampling_proportion and rows correspond to n_simulations. The entries of the matrix provide value of correlation between the nodes in full network and the sub-sampled network for the corresponding metric.