KPartiteNetwork-class: k-Partite Network

KPartiteNetwork-classR Documentation

k-Partite Network

Description

The k-partite network class represents data in the form of a network with k distinct groups of nodes in which nodes connect only with nodes from the other groups. In other words, there are only inter-group links, no intra-group links. These k groups are commonly called partitions. k-partite networks can have any property of a regular network, but they also designate the node ids that belong to each partition (group).

Usage

KPartiteNetwork(
  object,
  links,
  nodes,
  partitions = Partitions(),
  linkColorScheme = "none",
  variables = VariableMetadataList(),
  ...
)

Slots

links

LinkList object defining the links in the network.

nodes

NodeList object defining the nodes in the network. Some nodes may not have any links.

linkColorScheme

string defining the type of coloring scheme the links follow. Options are 'none' (default) and 'posneg'. Use a method assignLinkColors() to assign colors to links and set this slot's value.

partitions

list of node ids that belong to each partition


VEuPathDB/plot.data documentation built on Feb. 20, 2025, 6:33 p.m.