View source: R/interaction_score.R
write_interaction_score_input | R Documentation |
[INTERNAL] Writes the combined graphs and the drug target edge lists to files for passing them to the python interaction score script. Graphs are saved as 'gml' file. Edge lists are saved as 'tsv' file.
write_interaction_score_input( combined_graphs, drug_target_edgelists, saving_path )
combined_graphs |
[list] A named list (elements 'groupA' and 'groupB'). Each element contains the entire combined network (layers + inter-layer connections) as iGraph graph object. |
drug_target_edgelists |
[list] A named list (elements 'groupA' and 'groupB'). Each element contains the list of edges to be considered in the interaction score calculation as data frame (columns 'from', 'to' and 'weight') |
saving_path |
[string] Path to save intermediate output of DrDimont's functions. Default is current working directory. |
No return value, used internally
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.