inter_layer_edgelist_by_id: Interlayer conntections by identifiers

Description Usage Arguments Value

View source: R/graph_combination.R

Description

(INTERNAL) Returns an edge list defining the connections between two layers of the network.

Usage

1
inter_layer_edgelist_by_id(annotation_1, annotation_2, connection, weight = 1)

Arguments

annotation_1, annotation_2

Data frames: Annotation tables specifying the identifiers of the nodes of a network

connection

String of identifier to connect on

weight

Integer or vector specifying the weight of the inter-layer connections.

Value

data.frame with columns from, to and weight


molnet-org/molnet documentation built on Dec. 21, 2021, 8:59 p.m.