| Literature DB >> 26797021 |
Ine Melckenbeeck1, Pieter Audenaert1, Tom Michoel2, Didier Colle1, Mario Pickavet1.
Abstract
Graphlets are small subgraphs, usually containing up to five vertices, that can be found in a larger graph. Identification of the graphlets that a vertex in an explored graph touches can provide useful information about the local structure of the graph around that vertex. Actually finding all graphlets in a large graph can be time-consuming, however. As the graphlets grow in size, more different graphlets emerge and the time needed to find each graphlet also scales up. If it is not needed to find each instance of each graphlet, but knowing the number of graphlets touching each node of the graph suffices, the problem is less hard. Previous research shows a way to simplify counting the graphlets: instead of looking for the graphlets needed, smaller graphlets are searched, as well as the number of common neighbors of vertices. Solving a system of equations then gives the number of times a vertex is part of each graphlet of the desired size. However, until now, equations only exist to count graphlets with 4 or 5 nodes. In this paper, two new techniques are presented. The first allows to generate the equations needed in an automatic way. This eliminates the tedious work needed to do so manually each time an extra node is added to the graphlets. The technique is independent on the number of nodes in the graphlets and can thus be used to count larger graphlets than previously possible. The second technique gives all graphlets a unique ordering which is easily extended to name graphlets of any size. Both techniques were used to generate equations to count graphlets with 4, 5 and 6 vertices, which extends all previous results. Code can be found at https://github.com/IneMelckenbeeck/equation-generator and https://github.com/IneMelckenbeeck/graphlet-naming.Entities:
Mesh:
Year: 2016 PMID: 26797021 PMCID: PMC4721873 DOI: 10.1371/journal.pone.0147078
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1All graphlets up to order 5.
The numbers in normal font are Pržulj’s graphlet ordering. Within each graphlet, the vertices with equal color are in the same orbit. The numbers in italic font are Pržulj’s orbit ordering.
Fig 2Graphlet 18.
The black outer vertices form orbit 43, the white inner vertex is orbit 44.
The number of graphlets with n nodes.
| Order | Number of graphlets |
|---|---|
| 1 | 1 |
| 2 | 1 |
| 3 | 2 |
| 4 | 6 |
| 5 | 21 |
| 6 | 112 |
| 7 | 853 |
| 8 | 11117 |
| 9 | 261080 |
| 10 | 11716571 |
Fig 3The number of graphlets for each order.
The logarithm of the number of graphlets is plotted against the number of vertices in each graphlet. The curve is an exponential fit: f(n) = 0.022n2.50, which has a coefficient of determination R2 = 0.9989.
Fig 4A motif isomorphic to graphlet 18.
All other graphs contain instances of this motif, but would not if it were a graphlet. This is not a complete list of possible instances of this motif.
Fig 5Graphlet 18 with numbered vertices.
The graphlet has all edges in Eq (8).
All edge sets that are isomorphic to graphlet 18.
| {{0,1}, {0,2}, {0,3}, {0,4}, {1,2}, {3,4}} |
| {{0,1}, {0,2}, {0,3}, {0,4}, {1,3}, {2,4}} |
| {{0,1}, {0,2}, {0,3}, {0,4}, {1,4}, {2,3}} |
| {{0,1}, {0,2}, {1,2}, {1,3}, {1,4}, {3,4}} |
| {{0,1}, {0,3}, {1,2}, {1,3}, {1,4}, {2,4}} |
| {{0,1}, {0,4}, {1,2}, {1,3}, {1,4}, {2,3}} |
| {{0,1}, {0,2}, {1,2}, {2,3}, {2,4}, {3,4}} |
| {{0,2}, {0,3}, {1,2}, {1,4}, {2,3}, {2,4}} |
| {{0,2}, {0,4}, {1,2}, {1,3}, {2,3}, {2,4}} |
| {{0,1}, {0,3}, {1,3}, {2,3}, {2,4}, {3,4}} |
| {{0,2}, {0,3}, {1,3}, {1,4}, {2,3}, {3,4}} |
| {{0,3}, {0,4}, {1,2}, {1,3}, {2,3}, {3,4}} |
| {{0,1}, {0,4}, {1,4}, {2,3}, {2,4}, {3,4}} |
| {{0,2}, {0,4}, {1,3}, {1,4}, {2,4}, {3,4}} |
| {{0,3}, {0,4}, {1,2}, {1,4}, {2,4}, {3,4}} |
Fig 6Orbit representative 44.
The central vertex is marked and called vertex 0, to indicate that it cannot be interchanged with any other vertex.
All edge sets that are isomorphic to orbit representative 44.
| {{0,1}, {0,2}, {0,3}, {0,4}, {1,2}, {3,4}} |
| {{0,1}, {0,2}, {0,3}, {0,4}, {1,3}, {2,4}} |
| {{0,1}, {0,2}, {0,3}, {0,4}, {1,4}, {2,3}} |
Fig 7Orbit representative 43.
Vertex 0 is marked and cannot be permuted. Vertices colored the same shade of gray are in the same suborbit.
Fig 8Construction of an equation.
The white vertex is the orbit representative’s marked vertex, black vertices were present in the original orbit representative and the gray vertex is the new vertex. Full lines indicate the original edges, dashed lines the edges added as part of the common neighbors and dotted lines the vertices that are added afterwards. (A) G(x)≃ Orbit representative 3. (B) G(x)∪{{y, a}, {y, b}}≃ Orbit representative 12. (C) G(x)∪{{y, a}, {y, b}, {y, x}}≃ Orbit representative 14.
Fig 9Use of an equation.
(A) The explored graph in which Eq (14) is tested. Vertex x, colored white, is the inspected vertex. (B-F) The graph is shown in dotted lines, edges in full lines show all different graphlets where vertex x touches orbit 3. Vertices on a gray background are common neighbors of both other vertices of those graphlets. (G-H) The two graphlets in which vertex x touches orbit 14.
Fig 10Construction of an equation.
(A) G(x)≃ Orbit representative 2. (B) G′(x) = G(x)∪{{y, x}, {y, a}}≃ Orbit representative 11. (C) G′(x)∪{y, b}≃ Orbit representative 13. (D) G′′(x) = G(x)∪{{y, x}, {y, b}}≃ Orbit representative 11. (E) G′′(x)∪{y, a} = G′(x)∪{y, b}.
Fig 11Two 6-graphlets.
All of both graphlets’ vertices have degree 3, and each graphlet has one orbit containing all of its vertices. (A) This graphlet’s edges and vertices correspond to the edges and vertices in a triangular prism. (B) The complete bipartite graph K3,3.
Fig 12Matrix form, triangular matrix form and string form of graphlet 18.
These forms correspond to graphlet 18 as it is shown in Fig 5. The string form is not the lexicographically smallest possible for this graphlet.
Fig 13All graphlets up to order 5.
The numbers in normal font are the graphlet ordering generated by the algorithm, the numbers in italic font are Pržulj’s ordering.