Getting the cytoscape network json files
I have written a series of scripts that takes in the graphs from DBGWAS and outputs the 'genetic events' (e.g. SNP, indels) that are being enriched in that component graph. Is there an easy way to get the Cytoscape JSON file? Currently, I am opening the output HTML file using chrome driver and using selenium to 'click' the download button to download it. But this is a bit hacky so I would like to be able to generate it without using chrome if possible.
Thanks in advance for any help.