inter_layer_edgelist_by_table: [INTERNAL] Interaction table to iGraph graph object

View source: R/graph_combination.R

inter_layer_edgelist_by_tableR Documentation

[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
)

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.

Value

Data frame with columns from, to and weight


DrDimont documentation built on Sept. 23, 2022, 5:06 p.m.