text: user8601: Is there a way to programmatically retrieve graph features (a networkx graph) from Cytoscape in Python 3? 
  EDIT: To add more details, I had a dictionary of proteins, each protein was associated with a list of proteins that it interacts with. I wanted to create a protein-protein interaction graph so that I could extract graph features from it, including things like k-core value of each node. 
  
  user8601: I was able to extract the graph features that I wanted just using networkx, without going through the intermediate step of Cytoscape. 
  EDIT: Initially, I planned to import the data into Cytoscape and extract graph features from Cytoscape. However, I noticed that a much easier solution would be to just use the methods of the networkx library. I initially had a few graph features in mind that I wanted to extract like k-core value of each node, and I was able to do this using methods from networkX. To calculate k-core for instance, I used the k_core method. For more information on networkX methods, check the docs
  
original_text: 8601: <p>Is there a way to programmatically retrieve graph features (a networkx graph) from Cytoscape in Python 3? </p>
  
  <p>EDIT: To add more details, I had a dictionary of proteins, each protein was associated with a list of proteins that it interacts with. I wanted to create a protein-protein interaction graph so that I could extract graph features from it, including things like <a href="https://en.wikipedia.org/wiki/Degeneracy_(graph_theory)" rel="nofollow noreferrer">k-core</a> value of each node. </p>
   8601: <p>I was able to extract the graph features that I wanted just using networkx, without going through the intermediate step of Cytoscape. </p>
  
  <p>EDIT: Initially, I planned to import the data into Cytoscape and extract graph features from Cytoscape. However, I noticed that a much easier solution would be to just use the methods of the networkx library. I initially had a few graph features in mind that I wanted to extract like k-core value of each node, and I was able to do this using methods from <a href="https://networkx.github.io/" rel="nofollow noreferrer">networkX</a>. To calculate k-core for instance, I used the <a href="https://networkx.github.io/documentation/networkx-1.7/reference/generated/networkx.algorithms.core.k_core.html" rel="nofollow noreferrer">k_core</a> method. For more information on networkX methods, check the <a href="https://networkx.github.io/documentation/stable/" rel="nofollow noreferrer">docs</a></p>
  