This function takes the differential graph (generated in generate_differential_score_graph), the a drug targets object (containing target node names and drugs and their targets; generated in determine_drug_targets) and the supplied drug-target interaction table (formatted in make_drug_target) to calculate the differential drug response score. The score is the mean or median of all differential scores of the edges adjacent to all drug target nodes of a particular drug.
differential_graph: iGraph graph object containing differential scores for all edges. (output of generate_differential_score_graph)
drug_targets: [list] Named list containing two elements (target_nodes and drugs_to_target_nodes). targets from output of determine_drug_targets. target_nodes is a vector containing network node names of the nodes that are targeted by the available drugs. drugs_to_target_nodes is a dictionary-like list that maps drugs to the nodes that they target.
settings: [list] A named list containing pipeline settings. The settings list has to be initialized by drdimont_settings. Items in the named list can be adjusted as desired.
Returns
Data frame containing drug name and associated differential (integrated) drug response score