[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.
target_edge_list(graph, target_nodes, group)
An edge list as a data frame.
[igraph] Combined graph (iGraph graph object) for a specific group
[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)
[string] Indicates which group `groupA` or `groupB` is analyzed