procope.evaluation.comparison
Class NetworkComparison

java.lang.Object
  extended by procope.evaluation.comparison.NetworkComparison

public class NetworkComparison
extends Object

Contains methods for comparing two protein networks.

This class is not instantiatable.

Author:
Jan Krumsiek

Method Summary
static List<Point> weightsOverlap(ProteinNetwork scores1, ProteinNetwork scores2, boolean excludeZeros)
          Compares the weights of all edges of two networks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

weightsOverlap

public static List<Point> weightsOverlap(ProteinNetwork scores1,
                                         ProteinNetwork scores2,
                                         boolean excludeZeros)
Compares the weights of all edges of two networks. Each value pair in the result set stands for the two weights of the same edge in both networks. If a edge does not exist in one of the networks, the value 0 will be assumed.

Parameters:
scores1 - network 1
scores2 - network 2
excludeZeros - do not include values where an edge does not exist in the other network or has a weight of 0
Returns:
list of edge weight pairs
See Also:
CorrelationCoefficient