Re: [graph-tool] Retrieve the graph neighborhood around a set of vertices

2015-01-13 Thread Tiago de Paula Peixoto
On 11.01.2015 13:03, Dov Sadan wrote: Hi@alll How can I retrieve the graph neighborhoods around a set of vertices for a given radius (of the neighborhoods)? You can use the shortest_distance() function:

Re: [graph-tool] Search in a graph of medical records

2015-01-13 Thread ostrokach
I'm not sure if graph-tool is designed to do this. Basically, you have a disease ontology, and an EMR database that annotates patients with diseases in that disease ontology. In order to find the most similar patient, you should use one of the semantic similarity measures, such as the Resnik