/// <summary> /// Change the reporter ion mode /// </summary> /// <param name="eReporterIonMode"></param> /// <param name="iTraqCorrectionFactorType"></param> public void UpdateReporterIonMode(clsReporterIons.eReporterIonMassModeConstants eReporterIonMode, eCorrectionFactorsiTRAQ4Plex iTraqCorrectionFactorType) { if (ReporterIonMode != eReporterIonMode || ITraq4PlexCorrectionFactorType != iTraqCorrectionFactorType) { ReporterIonMode = eReporterIonMode; ITraq4PlexCorrectionFactorType = iTraqCorrectionFactorType; InitializeCoefficients(true); } }
/// <summary> /// Constructor /// </summary> /// <param name="eReporterIonMode">iTRAQ or TMT mode</param> /// <param name="iTraqCorrectionFactorType">Correction factor type for 4-plex iTRAQ</param> /// <remarks>The iTraqCorrectionFactorType parameter is only used if eReporterIonMode is ITraqFourMZ</remarks> public clsITraqIntensityCorrection(clsReporterIons.eReporterIonMassModeConstants eReporterIonMode, eCorrectionFactorsiTRAQ4Plex iTraqCorrectionFactorType) { ReporterIonMode = eReporterIonMode; ITraq4PlexCorrectionFactorType = iTraqCorrectionFactorType; mMatrixUtility = new MatrixDecompositionUtility.LUDecomposition(); if (ReporterIonMode == clsReporterIons.eReporterIonMassModeConstants.CustomOrNone) { return; } InitializeCoefficients(false); }