powered by
randomize_network Randomizes a network of interest by edge swapping to preserve the degree of the nodes
randomize_network
randomize_network(network,output_weighted = FALSE)
A data frame / tibble containing gene-gene interactions (required columns: $from, $to)
Indicate whether the output network should be made weighted by assigning a weight of 1 to each interaction.
A randomized network ($from, $to; and $weight = 1 if output_weighted == TRUE).
# NOT RUN { random_lr = randomize_network(lr_network) # } # NOT RUN { # }
Run the code above in your browser using DataLab