Description Usage Arguments Value Examples
View source: R/pipeline_functions.R
Computes the absolute difference of interaction score between
two groups. Returns a single graph with the differential score as only edge
attribute. The interaction score is computed by interaction_score
.
1 | differential_score(interaction_score_graphs, score_name = "weight")
|
interaction_score_graphs |
Named list with elements 'group1' and
'group2' containing iGraph objects with score as edge attribute. Output of
|
score_name |
Character string specifying the name of the edge attribute (default: 'weight'). |
iGraph object with 'differential_score' as only edge attribute
1 2 3 | data(interaction_score_graphs_example)
interaction_score_graphs <- interaction_score_graphs_example
differential_score_graph <- differential_score(interaction_score_graphs, score_name = "weight")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.