# NOT RUN {
nw <- random_network(10)
g <- plot(nw)
nw_plot_cytoscape <- create_cytoscape_file(g)
# }
# NOT RUN {
# Save the edge table in a .csv file to be used in cytoscape.
write.table(nw_plot_cytoscape, file.path(tempdir(), "file_name.csv"),
sep = ",", row.names = FALSE, col.names = TRUE, quote = FALSE)
# }
Run the code above in your browser using DataLab