Wrapper function to save a network or not
store_network.Rd
Wrapper function to save a network or not in a file according to the store_network parameter. If store_network is TRUE, the network is saved in the output_file.
Examples
network <- read.table("network.tsv", header = TRUE, sep = "\t")
#> Warning: cannot open file 'network.tsv': No such file or directory
#> Error in file(file, "rt"): cannot open the connection
store_network(network = network,
store_network = TRUE,
output_file = "network.tsv",
verbose = 1)
#> Storing network in file : network.tsv
#> Error: object 'network' not found