Illustration of network motifs and the BFS-level method. (A) Four common network motifs in social networks. Different colors represent different motifs. All four schematics came from real social networks shown in Fig. 17, which is published as supporting information on the PNAS web site. (I) Single-input motifs (SIM). For example, node 1 is a professor or a director, and nodes 2 and 3 are his/her students or assistants, respectively. In the yeast regulatory network, node 1 is NDD1, and nodes 2 and 3 are STB5 and MCM21, whose only regulator is NDD1. (II) Multi-input motifs (MIM). Nodes 1 and 2 can be professors, and nodes 3 and 4 can be two students that they coadvise. In Fig. 17B, nodes 1 and 2 are Senior Director and Executive Director, and nodes 3 and 4 are different departments that they cosupervise. In the yeast regulatory network, nodes 1 and 2 are FKH1 and FKH2. Together, they regulate node 3 (DBF2) and node 4 (HDR1). (III) Feed-forward loop (FFL). For example, node 1 is the chairman of a department, node 2 is a professor in the department, and node 3 is a shared secretary. In yeast regulatory network, node 1 (MBP1) regulates node 2 (SWI4). Then, they collectively regulate node 3 (SPT21). (IV) Multicomponent loops (MCL). In Fig. 17D, node 1 is a chairman, node 2 is a director, node 3 is a coordinator, and node 4 is a scientist. Then some of the scientists form an advisory committee that oversees the chairman. In yeast regulatory network, node 1 is REB1, node 2 is SIN3, node 3 is UME6, and node 4 is HSF1. (B) Illustration on how to determine a generalized hierarchy using our BFS-level method. (I) A toy example with all four motifs mentioned in A. Each color represents a motif (color coding is the same as in A). (II) Finding all of the bottom (terminal) nodes in the network. A TF is a bottom node if and only if it does not regulate other TFs. TFs that only regulate themselves (i.e., autoregulation) are also considered as bottom nodes. All bottom nodes in the network are colored red. (III) Finding midlevel nodes. One performs a one-level deep BFS search starting at each of the bottom nodes to find what regulates them. Direct regulators of all bottom nodes are considered as level-2 nodes, which are in green. (IV) Finding topmost nodes. The procedure in the previous step (III) is repeated until all levels are determined. We call this overall process BFS-level. In this toy example, there are only three levels, and the node at the top level is in blue. However, in the yeast regulatory network, there are four levels.