View source: R/shuffle_network.R View source: R/core_functions.R
randomize_net | R Documentation |
Randomly sample 2 edges and if it works, switch products
randomize_net(netw, n_reps)
randomize_net(netw, n_reps)
netw |
edge list network |
n_reps |
number of times to successfully sample and switch |
Network edge list in the same format with the same compounds and degree distribution, but with randomized edges
randomized edge list
randomize_net(edge_list, 3000)
randomize_net(allnet1, 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.