public TransitionDocNode(Transition id, TransitionLosses losses, TypedMass massH, TransitionQuantInfo quantInfo) : this(id, Annotations.EMPTY, losses, massH, quantInfo, null) { }
public TransitionDocNode(Transition id, TransitionLosses losses, TypedMass massH, TransitionQuantInfo quantInfo, ExplicitTransitionValues explicitTransitionValues) : this(id, Annotations.EMPTY, losses, massH, quantInfo, explicitTransitionValues, null) { }
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)); }
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; }