NeuroData's Graph DataBase

Lowering the barrier to entry for scalable neuroscience

igraph Examples

All graphs can be inspected, used in analysis and even visualized via igraph's C, R or Python interface.
Please read the igraph documentation for detailed igraph usage information.

To load the graph into R:
      graph <- read.graph("path_of_graph.graphml", format="graphml")
To load the graph into Python:
    import igraph
    g ="path_of_graph.graphml", format="graphml")
To load a graph using C:
      #include <igraph.h>
      #include <stdio.h>

      int main(int argc, char **argv) {
        igraph_t g;
        FILE *ifile, *ofile;

        ifile=fopen("path_of_graph.graphml", "r");

        igraph_read_graph_graphml(&g, ifile, 0)
        // Do something with the graph. see
        return 0;