Hello Cytoscape,
I would like to extract a subnetwork from my main network in my app. Basically I need to remove some nodes from the main network and present the remaining nodes as a seperate network in the control panel.
CyNetworkFactory networkFactory = CyActivator.networkFactory;
CyNetwork subNetwork = networkFactory.createNetwork();
Is there anyway to initialize the newly created network to main network ( so that i can use newnetwork.getnodeList(), newnetwork.getnodeTable(), edgeTable() etc. as well)? and then iterate through the newnodeList and remove the corresponding nodes from the new network.
Thanks,
Srikanth.B,
Information Systems,
Bits-Pilani , Goa