public GroupIdentifier GetGroupIdentifier(AnnotationCalculator annotationCalculator, ChromatogramSet chromatogramSet) { AnnotationDef annotationDef = annotationCalculator.SrmDocument.Settings.DataSettings.AnnotationDefs.FirstOrDefault(a => a.Name == ControlAnnotation); if (annotationDef == null) { return(default(GroupIdentifier)); } return(GroupIdentifier.MakeGroupIdentifier(annotationCalculator.GetReplicateAnnotation(annotationDef, chromatogramSet))); }
public override object GetValue(AnnotationCalculator annotationCalculator, ChromatogramSet chromatogramSet) { return(annotationCalculator.GetReplicateAnnotation(AnnotationDef, chromatogramSet)); }