Ejemplo n.º 1
0
 public double GetCurveThreshold(PointPairList points, double cutoff)
 {
     var peptidesThreshPt = points.LastOrDefault(point => point.X < cutoff);
     return peptidesThreshPt == null ? points.First().Y : peptidesThreshPt.Y;
 }