Single Mode

Convert multimodal graphs to single modal.

Inputs

  • Network: An instance of a bipartite network graph.

Outputs

  • Network: An instance of single network graph.

Single Mode works with bipartite (or multipartite) networks, where different parts are distinguished by values of the chosen discrete variable. A typical example would be a network that connects persons with events that they attended. The widget creates a new network, which contains the nodes from the chosen group of original network's nodes (e.g. persons). Two nodes in the resulting network are connected if they share a common neighbor from the second chosen group (e.g. events).

  1. Mode indicator:
    • Feature: discrete feature labeling network subsets.
    • Connect: value used as nodes.
    • by: value used as edges.
  2. Edge weights: compute weights for the output network.
  3. Information on the output network.

####Edge weights

  • No weights: all weights are set to 1.
  • Number of connections: weights correspond to the number of common connections (e.g. events the two people participated in).
  • Weighted number of connections: weights correspond to the sum of the product of original edge weights that connect each person with the event.

For details and for description of other options, see Vlado Batagelj's Introduction to Network Science using Pajek, section 7, page 38.

Example

For this example we have used the famous davis data set that describes ladies from the south of the United States and the events they have participated in. The network thus consists of nodes that are either persons or events. Node role is described in the attribute role. We load the network with Network File.

We see the original file in Network Explorer. The blue nodes are events and the red ones are persons. Events are attended by persons. A node connects a person with the event, if the person attended the event. Now we can observe which people attended the same event or, conversely, which events were attended by the same people.

In Single Mode we set the feature describing the role of the nodes. It so happens that our attribute is named role. We connect persons (nodes) by the events they attended (edges). Edge weight will be the number of connections in common. In translation, edge weights will be the number of events both people attended.

Network Explorer (1) shows the final network.

This site uses cookies to improve your experience.