public bool SkipTransitionGroup(TransitionGroupDocNode transitionGroupDocNode) { if (null != MeasuredLabelTypes) { if (!MeasuredLabelTypes.Contains(transitionGroupDocNode.TransitionGroup.LabelType)) { return(true); } } if (!string.IsNullOrEmpty(NormalizationMethod.IsotopeLabelTypeName)) { if (Equals(NormalizationMethod.IsotopeLabelTypeName, transitionGroupDocNode.TransitionGroup.LabelType.Name)) { return(true); } } return(false); }
public bool SkipTransitionGroup(TransitionGroupDocNode transitionGroupDocNode) { if (transitionGroupDocNode.IsDecoy) { return(true); } if (null != MeasuredLabelTypes) { if (!MeasuredLabelTypes.Contains(transitionGroupDocNode.TransitionGroup.LabelType)) { return(true); } } if (NormalizationMethod is NormalizationMethod.RatioToLabel) { if (Equals(((NormalizationMethod.RatioToLabel)NormalizationMethod).IsotopeLabelTypeName, transitionGroupDocNode.TransitionGroup.LabelType.Name)) { return(true); } } return(false); }