Exemple #1
0
        public void AssignDuplicationToAnnotation(IAnnotation mph, string resultFilename)
        {
            var item = mph.GetOrCreateQuantificationItem();

            item.RatioStr = "DUP";
            item.Filename = new FileInfo(resultFilename).Name;
        }
Exemple #2
0
        public void AssignToAnnotation(IAnnotation mph, string resultFilename)
        {
            int observedCount = 0;

            foreach (SilacPeakListPair pkl in ObservedEnvelopes)
            {
                if (pkl.Enabled)
                {
                    observedCount++;
                }
            }

            var item = mph.GetOrCreateQuantificationItem();

            item.Ratio              = Ratio;
            item.Correlation        = RegressionCorrelation;
            item.ScanCount          = observedCount;
            item.SampleIntensity    = SampleAbundance;
            item.ReferenceIntensity = ReferenceAbundance;
            item.Filename           = new FileInfo(resultFilename).Name;
        }
 public static void SetRatioEnabled(this IAnnotation ann, bool value)
 {
     ann.GetOrCreateQuantificationItem().Enabled = value;
 }