inter_layer_edgelist_by_table function

[INTERNAL] Interaction table to iGraph graph object

[INTERNAL] Interaction table to iGraph graph object

[INTERNAL] Returns an edge list defining the connections between two layers of the network based on an interaction table supplied by the user.

inter_layer_edgelist_by_table( annotation_A, annotation_B, interaction_table, weight_column )

Arguments

  • annotation_A, annotation_B: [data.frame] Annotation tables specifying the identifiers of the nodes of a network
  • interaction_table: [data.frame] Table specifying the interaction / connections between the two layers
  • weight_column: [string] Name of the column in 'interaction_table' giving the weight of the inter-layer edges.

Returns

Data frame with columns from, to and weight

  • Maintainer: Katharina Baum
  • License: MIT + file LICENSE
  • Last published: 2022-09-23

Useful links