public PeakFeatureStatistics GetPeakFeatureStatistics(int pepIndex, int fileIndex) { var key = new PeakTransitionGroupIdKey(pepIndex, fileIndex); PeakFeatureStatistics peakStatistics; if (_featureDictionary.TryGetValue(key, out peakStatistics)) { return(peakStatistics); } return(null); }
private bool IsMatch(ChromInfo chromInfo, PeptideDocNode nodePep) { var key = new PeakTransitionGroupIdKey(nodePep.Id.GlobalIndex, chromInfo.FileId.GlobalIndex); if (!_featureDictionary.ContainsKey(key)) { return(false); } var listFeatures = _featureDictionary[key]; foreach (var features in listFeatures) { if (IsUnknownScore(features, _selectedCalculator)) { return(true); } } return(false); }