target_edge_list: [INTERNAL] Get edges adjacent to target nodes

View source: R/drug_targets.R

target_edge_listR Documentation

[INTERNAL] Get edges adjacent to target nodes

Description

[INTERNAL] Based on the supplied graph and target nodes this function returns a list of edges that are directly adjacent to target nodes. These edges can be used for further computation to compute the integrated interaction scores and differential scores in the networks.

Usage

target_edge_list(graph, target_nodes, group)

Arguments

graph

[igraph] Combined graph (iGraph graph object) for a specific group

target_nodes

[data.frame] Has column 'node_id' (unique node IDs in the iGraph graph object that are targeted by drugs) and columns 'groupA' and 'groupB' (bool values specifying whether the node is contained in the combined graph of the group)

group

[string] Indicates which group 'groupA' or 'groupB' is analyzed

Value

An edge list as a data frame.


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