Пример #1
0
 public TransitionDocNode(Transition id,
                          TransitionLosses losses,
                          TypedMass massH,
                          TransitionQuantInfo quantInfo)
     : this(id, Annotations.EMPTY, losses, massH, quantInfo, null)
 {
 }
Пример #2
0
 public TransitionDocNode(Transition id,
                          TransitionLosses losses,
                          TypedMass massH,
                          TransitionQuantInfo quantInfo,
                          ExplicitTransitionValues explicitTransitionValues)
     : this(id, Annotations.EMPTY, losses, massH, quantInfo, explicitTransitionValues, null)
 {
 }
Пример #3
0
            public TransitionQuantInfo UseValuesFrom(TransitionQuantInfo existing)
            {
                var isotopeDistInfo = IsotopeDistInfo;
                var libInfo         = LibInfo;

                Helpers.AssignIfEquals(ref isotopeDistInfo, existing.IsotopeDistInfo);
                Helpers.AssignIfEquals(ref libInfo, existing.LibInfo);
                return(new TransitionQuantInfo(isotopeDistInfo, libInfo, existing.Quantititative));
            }
Пример #4
0
 public TransitionDocNode(Transition id,
                          Annotations annotations,
                          TransitionLosses losses,
                          TypedMass mass,
                          TransitionQuantInfo transitionQuantInfo,
                          Results <TransitionChromInfo> results)
     : base(id, annotations)
 {
     Losses = losses;
     if (losses != null)
     {
         mass -= losses.Mass;
     }
     Mz = id.IsCustom() ?
          new SignedMz(id.Adduct.MzFromNeutralMass(mass), id.IsNegative()) :
          new SignedMz(SequenceMassCalc.GetMZ(mass, id.Adduct) + SequenceMassCalc.GetPeptideInterval(id.DecoyMassShift), id.IsNegative());
     MzMassType      = mass.MassType;
     IsotopeDistInfo = transitionQuantInfo.IsotopeDistInfo;
     LibInfo         = transitionQuantInfo.LibInfo;
     Results         = results;
     Quantitative    = transitionQuantInfo.Quantititative;
 }