public string GetAxisTitle(RTPeptideValue rtPeptideValue) { string calculatorName = _retentionTimeRegression.Calculator.Name; if (rtPeptideValue == RTPeptideValue.Retention || rtPeptideValue == RTPeptideValue.All) { return(string.Format(Resources.RegressionUnconversion_CalculatorScoreFormat, calculatorName)); } return(string.Format(Resources.RegressionUnconversion_CalculatorScoreValueFormat, calculatorName, ToLocalizedString(rtPeptideValue))); }
public static string ToLocalizedString(RTPeptideValue rtPeptideValue) { switch (rtPeptideValue) { case RTPeptideValue.All: case RTPeptideValue.Retention: return(Resources.RtGraphValue_Retention_Time); case RTPeptideValue.FWB: return(Resources.RtGraphValue_FWB_Time); case RTPeptideValue.FWHM: return(Resources.RtGraphValue_FWHM_Time); } throw new ArgumentException(rtPeptideValue.ToString()); }
public RetentionTimeTransform(RTPeptideValue rtPeptideValue, IRetentionTimeTransformOp rtAlignment, AggregateOp aggregateOp) { RtPeptideValue = rtPeptideValue; RtTransformOp = rtAlignment; AggregateOp = aggregateOp; }
public string GetAxisTitle(RTPeptideValue rtPeptideValue) { return(string.Format(Resources.RtAlignment_AxisTitleAlignedTo, ToLocalizedString(rtPeptideValue), ChromatogramSet.Name)); }
public void ShowRTPeptideValue(RTPeptideValue value) { Settings.Default.RTPeptideValue = value.ToString(); UpdateRetentionTimeGraph(); }