Multi-Dendrix Logo

This Page

multi_dendrix.evaluate.network.count_interactions

multi_dendrix.evaluate.network.count_interactions(network, pairs)[source]

Given a PPI and a list of gene pairs, returns the number of genes that interact.

Parameters:
  • network (NetworkX Graph) – input PPI network.
  • pairs (list of tuples) – pairs of genes to test.
Returns:

count (int) - the number of gene pairs that interact.

See also: direct_interactions_stat(), interact().