Ejemplo n.º 1
0
        public static int DescendingProbabilityScore(ProteinGroupMatch left, ProteinGroupMatch right)
        {
            int comparison = -(left.ProbabilityScore().CompareTo(right.ProbabilityScore()));

            if (comparison != 0)
            {
                return(comparison);
            }
            else
            {
                return(left.Target.CompareTo(right.Target));
            }
        }
Ejemplo n.º 2
0
 public static int AscendingProbabilityScore(ProteinGroupMatch left, ProteinGroupMatch right)
 {
     return(left.ProbabilityScore().CompareTo(right.ProbabilityScore()));
 }