@@ -34,7 +34,7 @@ public class PlotModelStat : INotifyPropertyChanged, IPlotModel
34
34
private static Dictionary < ProductType , OxyColor > productTypeDrawColors = new Dictionary < ProductType , OxyColor >
35
35
{
36
36
{ ProductType . b , OxyColors . Blue } ,
37
- { ProductType . y , OxyColors . Purple } ,
37
+ { ProductType . y , OxyColors . Red } ,
38
38
{ ProductType . c , OxyColors . Gold } ,
39
39
{ ProductType . zPlusOne , OxyColors . Orange } ,
40
40
{ ProductType . D , OxyColors . DodgerBlue } ,
@@ -292,7 +292,7 @@ private void linePlot(int plotType)
292
292
TrackerFormatString = "{1}: {2:0.###}\n {3}: {4:0.###}\n Full sequence: {Tag}"
293
293
} ;
294
294
List < Tuple < double , double , string > > xy = new List < Tuple < double , double , string > > ( ) ;
295
- List < Tuple < double , double , string > > variantxy = new List < Tuple < double , double , string > > ( ) ;
295
+ List < Tuple < double , double , string > > variantxy = new List < Tuple < double , double , string > > ( ) ;
296
296
var filteredList = allPsms . Where ( p => ! p . MassDiffDa . Contains ( "|" ) && Math . Round ( double . Parse ( p . MassDiffDa , CultureInfo . InvariantCulture ) , 0 ) == 0 ) . ToList ( ) ;
297
297
var test = allPsms . SelectMany ( p => p . MatchedIons . Select ( v => v . MassErrorPpm ) ) ;
298
298
switch ( plotType )
@@ -302,7 +302,7 @@ private void linePlot(int plotType)
302
302
xAxisTitle = "Retention time" ;
303
303
foreach ( var psm in filteredList )
304
304
{
305
- if ( psm . IdentifiedSequenceVariations == null || psm . IdentifiedSequenceVariations . Equals ( "" ) )
305
+ if ( psm . IdentifiedSequenceVariations == null || psm . IdentifiedSequenceVariations . Equals ( "" ) )
306
306
{
307
307
xy . Add ( new Tuple < double , double , string > ( double . Parse ( psm . MassDiffPpm , CultureInfo . InvariantCulture ) , ( double ) psm . RetentionTime , psm . FullSequence ) ) ;
308
308
}
@@ -329,9 +329,9 @@ private void linePlot(int plotType)
329
329
SSRCalc3 sSRCalc3 = new SSRCalc3 ( "A100" , SSRCalc3 . Column . A100 ) ;
330
330
foreach ( var psm in allPsms )
331
331
{
332
- if ( psm . IdentifiedSequenceVariations == null || psm . IdentifiedSequenceVariations . Equals ( "" ) )
332
+ if ( psm . IdentifiedSequenceVariations == null || psm . IdentifiedSequenceVariations . Equals ( "" ) )
333
333
{
334
- xy . Add ( new Tuple < double , double , string > ( sSRCalc3 . ScoreSequence ( new PeptideWithSetModifications ( psm . BaseSeq . Split ( '|' ) [ 0 ] , null ) ) ,
334
+ xy . Add ( new Tuple < double , double , string > ( sSRCalc3 . ScoreSequence ( new PeptideWithSetModifications ( psm . BaseSeq . Split ( '|' ) [ 0 ] , null ) ) ,
335
335
( double ) psm . RetentionTime , psm . FullSequence ) ) ;
336
336
}
337
337
else
@@ -400,5 +400,4 @@ public void Update(bool updateData) { }
400
400
public void Render ( IRenderContext rc , double width , double height ) { }
401
401
public void AttachPlotView ( IPlotView plotView ) { }
402
402
}
403
- }
404
-
403
+ }
0 commit comments