コード例 #1
0
 public PeptideQuantifier(PeptideGroupDocNode peptideGroup, PeptideDocNode peptideDocNode,
     QuantificationSettings quantificationSettings)
 {
     PeptideGroupDocNode = peptideGroup;
     PeptideDocNode = peptideDocNode;
     QuantificationSettings = quantificationSettings;
 }
コード例 #2
0
 protected bool Equals(QuantificationSettings other)
 {
     return(Equals(RegressionWeighting, other.RegressionWeighting) &&
            Equals(RegressionFit, other.RegressionFit) &&
            Equals(NormalizationMethod, other.NormalizationMethod) &&
            Equals(MsLevel, other.MsLevel) &&
            Equals(Units, other.Units));
 }
コード例 #3
0
ファイル: QuantificationSettings.cs プロジェクト: zrolfs/pwiz
 protected bool Equals(QuantificationSettings other)
 {
     return(Equals(RegressionWeighting, other.RegressionWeighting) &&
            Equals(RegressionFit, other.RegressionFit) &&
            Equals(NormalizationMethod, other.NormalizationMethod) &&
            Equals(MsLevel, other.MsLevel) &&
            Equals(Units, other.Units) &&
            Equals(LodCalculation, other.LodCalculation) &&
            Equals(MaxLoqBias, other.MaxLoqBias) &&
            Equals(MaxLoqCv, other.MaxLoqCv));
 }
コード例 #4
0
 private SrmDocument ChangeQuantificationSettings(SrmDocument srmDocument, QuantificationSettings quantificationSettings)
 {
     return srmDocument.ChangeSettings(
         srmDocument.Settings.ChangePeptideSettings(
             srmDocument.Settings.PeptideSettings.ChangeAbsoluteQuantification(
                 quantificationSettings)));
 }
コード例 #5
0
 protected bool Equals(QuantificationSettings other)
 {
     return Equals(RegressionWeighting, other.RegressionWeighting) &&
            Equals(RegressionFit, other.RegressionFit) &&
            Equals(NormalizationMethod, other.NormalizationMethod) &&
            Equals(MsLevel, other.MsLevel) &&
            Equals(Units, other.Units);
 }
コード例 #6
0
        public void ReadXml(XmlReader reader)
        {
            // Consume tag
            if (reader.IsEmptyElement)
                reader.Read();
            else
            {
                reader.ReadStartElement();

                // Read child elements.
                Enzyme = reader.DeserializeElement<Enzyme>();
                DigestSettings = reader.DeserializeElement<DigestSettings>();
                BackgroundProteome = reader.DeserializeElement<BackgroundProteome>();
                Prediction = reader.DeserializeElement<PeptidePrediction>();
                Filter = reader.DeserializeElement<PeptideFilter>();
                Libraries = reader.DeserializeElement<PeptideLibraries>();
                Modifications = reader.DeserializeElement<PeptideModifications>();
                Integration = reader.DeserializeElement<PeptideIntegration>();
                Quantification = reader.DeserializeElement<QuantificationSettings>();
                reader.ReadEndElement();
            }

            Quantification = Quantification ?? QuantificationSettings.DEFAULT;
            // Defer validation to the SrmSettings object
        }
コード例 #7
0
 public PeptideSettings ChangeAbsoluteQuantification(QuantificationSettings prop)
 {
     prop = prop ?? QuantificationSettings.DEFAULT;
     if (Equals(prop, Quantification))
     {
         return this;
     }
     return ChangeProp(ImClone(this), im => im.Quantification = prop);
 }