Learn R Programming

DrDimont (version 0.1.4)

inter_layer_edgelist_by_table: [INTERNAL] Interaction table to iGraph graph object

Description

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

Usage

inter_layer_edgelist_by_table(
  annotation_A,
  annotation_B,
  interaction_table,
  weight_column
)

Value

Data frame with columns from, to and weight

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.