libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
pappso Namespace Reference

tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multicharge peaks to monocharge More...

Namespaces

namespace  cbor
 
namespace  Enums
 
namespace  masschroq
 
namespace  specglob
 
namespace  specpeptidoms
 
namespace  specself
 
namespace  spectree
 

Classes

class  Aa
 
class  AaBase
 
class  AaCode
 collection of integer code for each amino acid 0 => null 1 to 20 => amino acid sorted by there mass (lower to higher). Leucine is replaced by Isoleucine More...
 
class  AaModification
 
class  AaStringCodec
 code and decode amino acid string sequence to unique integer More...
 
class  AaStringCodeMassMatching
 convert a list of mass to amino acid string codes More...
 
struct  AreNamespaceClassnamePairsEqual
 
class  AtomNumberInterface
 
class  BafAsciiFileReader
 
class  BafAsciiMsRunReader
 
class  BaseColorMapPlotWidget
 
class  BasePlotContext
 
class  BasePlotWidget
 
class  BaseTracePlotWidget
 
class  ChemicalFormula
 
struct  CodeToMass
 
struct  ColorMapPlotConfig
 
class  CosineSimilarity
 
class  DaltonPrecision
 
struct  DataPoint
 
class  DataPointJs
 
class  DeepProtEnumStr
 
class  DriftSpecMassSpecColorMapPlotWidget
 
class  DriftSpecTracePlotWidget
 
class  Enzyme
 
class  EnzymeProductInterface
 
class  ExceptionInterrupted
 
class  ExceptionNotFound
 
class  ExceptionNotImplemented
 
class  ExceptionNotPossible
 
class  ExceptionNotRecognized
 excetion to use when an item type is not recognized More...
 
class  ExceptionOutOfRange
 
class  FastaFileIndexer
 
class  FastaFileIndexerInterface
 
class  FastaHandlerInterface
 
class  FastaOutputStream
 
class  FastaReader
 
class  FastaSeqHandler
 
class  FastaWriterInterface
 
class  FilterCeilingAmplitudePercentage
 Redefines the ceiling intensity of the Trace. More...
 
class  FilterChargeDeconvolution
 
class  FilterComplementIonEnhancer
 try to detect complementary ions and assign maximum intensity of both elements More...
 
class  FilterFloorAmplitudePercentage
 Redefines the floor intensity of the Trace. More...
 
class  FilterFloorY
 apply std::floor (round to lowest integer) to all Y values More...
 
class  FilterGreatestY
 keep N datapoints form the greatest intensities to the lowest More...
 
class  FilterGreatestYperWindow
 keep N datapoints form the greatest intensities to the lowest within a mass range in dalton More...
 
class  FilterHighPass
 remove datapoints below a given Y value (intensity) More...
 
class  FilterHighPassPercentage
 remove datapoints below a given intensity percentage (ratio) of the maximum intensity More...
 
class  FilterInterface
 generic interface to apply a filter on a trace More...
 
class  FilterLocalMaximum
 finds all local maxima, i.e. any point that has a greater y value than both of its neighboring points and only keep those points More...
 
class  FilterLowIntensitySignalRemoval
 Redefines the floor intensity of the Trace. More...
 
class  FilterLowPass
 remove datapoints higher than a given Y value (intensity) More...
 
class  FilterMorphoAntiSpike
 anti spike filter set to zero alone values inside the window More...
 
class  FilterMorphoBackground
 compute background of a trace compute background noise on a trace More...
 
class  FilterMorphoMax
 transform the trace into its maximum over a window More...
 
class  FilterMorphoMaxMin
 transform the trace with the maximum of the minimum equivalent of the erode filter for pictures More...
 
class  FilterMorphoMean
 mean filter apply mean of y values inside the window : this results in a kind of smoothing More...
 
class  FilterMorphoMedian
 median filter apply median of y values inside the window More...
 
class  FilterMorphoMin
 transform the trace into its minimum over a window More...
 
class  FilterMorphoMinMax
 transform the trace with the minimum of the maximum equivalent of the dilate filter for pictures More...
 
class  FilterMorphoSum
 test purpose More...
 
class  FilterMorphoWindowBase
 base class that apply a signal treatment based on a window More...
 
class  FilterMzExclusion
 
class  FilterNameInterface
 Interface that allows to build filter objects from strings. More...
 
class  FilterNormalizeIntensities
 Sets the maximum intensity of the trace to the provided value. More...
 
class  FilterOboPsiModMap
 
class  FilterOboPsiModSink
 
class  FilterOboPsiModTermAccession
 
class  FilterOboPsiModTermDiffMono
 
class  FilterOboPsiModTermLabel
 
class  FilterOboPsiModTermName
 
class  FilterPeakDelta
 
class  FilterQuantileBasedRemoveY
 removes a value found by quantile to all Y values More...
 
class  FilterRemoveC13
 
class  FilterRemoveY
 removes a value to all Y values More...
 
class  FilterResampleKeepGreater
 
class  FilterResampleKeepPointInPolygon
 
class  FilterResampleKeepSmaller
 
class  FilterResampleKeepXRange
 
class  FilterResampleRemoveXRange
 
class  FilterRescaleY
 rescales Y values into a dynamic range if the dynamic range is set to 0, this filter is ignored More...
 
class  FilterRoundY
 apply std::round (round to nearest integer) to all Y values More...
 
class  FilterSavitzkyGolay
 uses Savitsky-Golay filter on trace More...
 
class  FilterScaleFactorY
 rescales Y values given a tranformation factor More...
 
class  FilterSuite
 apply a suite of filters from a vector More...
 
class  FilterSuiteString
 
class  FilterTandemDeisotope
 Deisotope the mass spectrum this mass spectrum is iterated over and according to a data point-based moving window progression does the following tests: More...
 
class  FilterTriangle
 
struct  FrameIdDescr
 
class  GrpExperiment
 
class  GrpGroup
 
class  GrpGroupingMonitor
 
class  GrpGroupingMonitorInterface
 
class  GrpMapPeptideToGroup
 
class  GrpMapPeptideToSubGroupSet
 
class  GrpPeptide
 
class  GrpPeptideSet
 
class  GrpProtein
 
class  GrpSubGroup
 
class  GrpSubGroupSet
 
class  HttpButton
 
class  IntegrationScope
 
class  IntegrationScopeBase
 
class  IntegrationScopeRect
 
class  IntegrationScopeRhomb
 
struct  IntegrationScopeSpec
 
class  Ion
 
class  IonIsotopeRatioScore
 
class  IonMobilityGrid
 
struct  IsotopeCount
 
class  LinearRegression
 
class  MapTrace
 
class  MassDataCombinerInterface
 
class  MassSpecTracePlotContext
 
class  MassSpecTracePlotWidget
 
class  MassSpectrum
 Class to represent a mass spectrum. More...
 
class  MassSpectrumCombiner
 
class  MassSpectrumFilterGreatestItensities
 
class  MassSpectrumFilterInterface
 generic interface to apply a filter on a MassSpectrum This is the same as FilterInterface, but some filter are only relevant if they are used on MassSpectrum using this interface means the filter can only be applied on MassSpectrum and not on Trace More...
 
class  MassSpectrumFilterResampleKeepMzRange
 
class  MassSpectrumFilterResampleRemoveMzRange
 
class  MassSpectrumId
 
class  MassSpectrumJs
 The MassSpectrumJs class provides a JavaScript wrapper around MassSpectrum. More...
 
struct  MassSpectrumLineData
 
class  MassSpectrumMinusCombiner
 
class  MassSpectrumPlusCombiner
 
class  MassSpectrumWidget
 
class  MgfOutput
 
class  MorpheusScore
 
class  MsDataFormatEnumStr
 static functions to convert mz file formats More...
 
class  MsFileAccessor
 
class  MsFileReader
 
class  MsRunDataSetTree
 
class  MsRunDataSetTreeNode
 
class  MsRunDataSetTreeNodeVisitorInterface
 
class  MsRunId
 MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informations on its location (local disk path or URL) More...
 
class  MsRunQualifiedSpectrumLoader
 Load all qualified spectrum into a vector. More...
 
class  MsRunReadConfig
 
class  MsRunReader
 base class to read MSrun the only way to build a MsRunReader object is to use the MsRunReaderFactory More...
 
class  MsRunReaderRetentionTimeLine
 collect retention times along MS run More...
 
class  MsRunReaderScanNumberMultiMap
 provides a multimap to find quickly spectrum index from scan number More...
 
class  MsRunReaderTicChromatogram
 calculate a TIC chromatogram More...
 
class  MsRunRetentionTime
 
struct  MsRunRetentionTimeSeamarkPoint
 
class  MsRunSimpleStatistics
 example of interface to count MS levels of all spectrum in an MSrun More...
 
class  MsRunSlice
 
class  MsRunXicExtractor
 
class  MsRunXicExtractorDisk
 
class  MsRunXicExtractorDiskBuffer
 
class  MsRunXicExtractorFactory
 factory to build different kinds of XIC extractors More...
 
class  MsRunXicExtractorInterface
 
class  MzCalibrationInterface
 
class  MzCalibrationModel1
 
class  MzCalibrationModel1Cached
 
class  MzCalibrationStore
 
class  MzIdentMlWriter
 
class  MzIntegrationParams
 The MzIntegrationParams class provides the parameters definining how m/z ! More...
 
class  MzRange
 
class  MzxmlOutput
 
struct  NamespaceClassnameAsKeyHash
 
class  OboChooserWidget
 
class  OboListModel
 
class  OboListProxyModel
 
class  OboListWidget
 
class  OboPsiMod
 
class  OboPsiModHandlerInterface
 
class  OboPsiModTerm
 
class  OboPsiMs
 
class  OboTermForm
 
class  OboUnimod
 
class  PappsoException
 
class  PeakIonIsotopeMatch
 
class  PeakIonMatch
 
class  Peptide
 
class  PeptideBuilder
 builds a peptide shared pointer from peptide string and adds fixed modifications More...
 
class  PeptideFixedModificationBuilder
 
class  PeptideFragment
 
class  PeptideFragmentIon
 
class  PeptideFragmentIonListBase
 
class  PeptideInterface
 
class  PeptideIsotopeSpectrumMatch
 
class  PeptideMethioninRemove
 potential remove Nter Methionin More...
 
class  PeptideModificatorBase
 
class  PeptideModificatorInterface
 
class  PeptideModificatorPipeline
 
class  PeptideModificatorTee
 
class  PeptideNaturalIsotope
 
class  PeptideNaturalIsotopeAverage
 
class  PeptideNaturalIsotopeList
 
class  PeptideProFormaParser
 
class  PeptideRawFragmentMasses
 
class  PeptideSemiEnzyme
 cut a regular peptide obtained with an enzyme at any position from Nter or Cter More...
 
class  PeptideSinkInterface
 
class  PeptideSizeFilter
 filter peptide string by size More...
 
class  PeptideSpectrumMatch
 
class  PeptideSpSinkInterface
 
class  PeptideStrParser
 
class  PeptideVariableModificationBuilder
 Modify a peptide shared pointer with a variable modification on one AA. More...
 
class  PeptideVariableModificationReplacement
 
class  PpmPrecision
 
class  PrecisionBase
 
class  PrecisionFactory
 
class  PrecisionWidget
 
struct  PrecursorIonData
 
struct  ProjectParam
 
class  ProjectParameters
 
class  Protein
 
class  ProteinIntegerCode
 
class  ProteinPresenceAbsenceMatrix
 
class  PsmFeatures
 
class  PwizMsFileReader
 
class  PwizMsRunReader
 
class  QCPSpectrum
 
class  QCPXic
 
class  QPointFJs
 
class  QualifiedMassSpectrum
 Class representing a fully specified mass spectrum. More...
 
class  QualifiedXic
 
class  ResPrecision
 
struct  SavGolParams
 Parameters for the Savitzky-Golay filter. More...
 
class  SelectionPolygon
 
struct  SelectionPolygonSpec
 
struct  SimplePeakIonMatch
 
class  SpectrumCollectionHandlerInterface
 interface to collect spectrums from the MsRunReader class More...
 
class  SwitchWidget
 
class  TandemWrapperRun
 
class  TicXicChromDriftSpecColorMapPlotWidget
 
class  TicXicChromMassSpecColorMapPlotWidget
 
class  TicXicChromTracePlotWidget
 
class  TimsBinDec
 
class  TimsData
 
class  TimsDataFastMap
 replacement for std::map More...
 
class  TimsDdaPrecursors
 
class  TimsDiaSlices
 
class  TimsDirectXicExtractor
 
class  TimsFrame
 
class  TimsFrameBase
 
class  TimsFrameMobilityTraces
 
class  TimsFrameRawDataChunck
 
struct  TimsFrameRecord
 
class  TimsFramesMsRunReader
 
class  TimsFrameType1
 
class  TimsMs2CentroidFilter
 
class  TimsMsFileReader
 
class  TimsMsRunReader
 
class  TimsMsRunReaderBase
 
class  TimsMsRunReaderDia
 
class  TimsMsRunReaderMs2
 
class  TimsMsRunReaderMs2Selected
 
class  TimsXicExtractorInterface
 
class  Trace
 A simple container of DataPoint instances. More...
 
class  TraceCombiner
 
class  TraceDetectionInterface
 
class  TraceDetectionMoulon
 
class  TraceDetectionSinkInterface
 
class  TraceDetectionZivy
 
class  TraceJs
 
class  TraceMinusCombiner
 
class  TracePeak
 
class  TracePeakList
 
class  TracePlusCombiner
 
class  UiMonitorInterface
 
class  UiMonitorText
 
class  UiMonitorTextPercent
 
class  UiMonitorVoid
 
class  Utils
 
class  WrapTandemInput
 
class  WrapTandemResults
 
class  Xic
 
struct  XicCoord
 coordinates of the XIC to extract and the resulting XIC after extraction More...
 
struct  XicCoordTims
 coordinates of the XIC to extract and the resulting XIC after extraction More...
 
class  XicPeptideFragmentIon
 
class  XicPeptideFragmentIonNaturalIsotope
 
class  XicPeptideInterface
 
class  XicWidget
 
class  XmlStreamReaderInterface
 convenient xml reader helper More...
 
class  XtandemError
 
class  XtandemHyperscore
 
class  XtandemHyperscoreBis
 
class  XtandemPresetReader
 
class  XtandemSpectrumProcess
 
class  XyMsFileReader
 
class  XyMsRunReader
 

Typedefs

typedef std::shared_ptr< const PeptidePeptideSp
 
typedef std::unique_ptr< const AaModificationAaModificationUp
 
typedef const AaModificationAaModificationP
 
typedef std::shared_ptr< const AaStringCodecAaStringCodecSp
 shared pointer on a Protein object
 
typedef std::shared_ptr< FastaFileIndexerFastaFileIndexerSPtr
 
typedef std::shared_ptr< GrpGroupGrpGroupSp
 
typedef std::shared_ptr< const GrpGroupGrpGroupSpConst
 
typedef std::shared_ptr< const GrpPeptideGrpPeptideSpConst
 
typedef std::shared_ptr< GrpPeptideGrpPeptideSp
 
typedef std::shared_ptr< const GrpProteinGrpProteinSpConst
 
typedef std::shared_ptr< GrpProteinGrpProteinSp
 
typedef std::shared_ptr< const GrpSubGroupGrpSubGroupSpConst
 
typedef std::shared_ptr< GrpSubGroupGrpSubGroupSp
 
using NamespaceClassnamePairAsKey = std::pair<QString, QString>
 
using RegisterFunc = std::function<void(QJSEngine *)>
 
typedef std::shared_ptr< MassSpectrumMassSpectrumSPtr
 
typedef std::shared_ptr< const MassSpectrumMassSpectrumCstSPtr
 
typedef std::shared_ptr< QualifiedMassSpectrumQualifiedMassSpectrumSPtr
 
typedef std::shared_ptr< const QualifiedMassSpectrumQualifiedMassSpectrumCstSPtr
 
typedef std::shared_ptr< TimsMsRunReaderMs2TimsMsRunReaderMs2SPtr
 
typedef std::shared_ptr< MsFileAccessorMsFileAccessorSPtr
 
typedef std::shared_ptr< const MsFileAccessorMsFileAccessorCstSPtr
 
typedef std::shared_ptr< MsRunDataSetTreeMsRunDataSetTreeSPtr
 
typedef std::shared_ptr< const MsRunDataSetTreeMsRunDataSetTreeCstSPtr
 
typedef std::shared_ptr< MsRunDataSetTreeNodeMsRunDataSetTreeNodeSPtr
 
typedef std::shared_ptr< const MsRunDataSetTreeNodeMsRunDataSetTreeNodeCstSPtr
 
typedef std::shared_ptr< MsRunIdMsRunIdSPtr
 
typedef std::shared_ptr< const MsRunIdMsRunIdCstSPtr
 
typedef std::shared_ptr< MsRunReaderMsRunReaderSPtr
 
typedef std::shared_ptr< const MsRunReaderMsRunReaderCstSPtr
 
typedef std::shared_ptr< TimsFramesMsRunReaderTimsFramesMsRunReaderSPtr
 
typedef std::shared_ptr< const TimsFramesMsRunReaderTimsFramesMsRunReaderCstSPtr
 
typedef std::shared_ptr< XicCoordXicCoordSPtr
 
typedef std::shared_ptr< XicCoordTimsXicCoordTimsSPtr
 
typedef std::shared_ptr< PeptideNoConstPeptideSp
 
typedef std::shared_ptr< const PeptideFragmentPeptideFragmentSp
 
typedef std::shared_ptr< const PeptideFragmentIonPeptideFragmentIonSp
 
typedef std::shared_ptr< const PeptideFragmentIonListBasePeptideFragmentIonListBaseSp
 
typedef std::shared_ptr< const PeptideInterfacePeptideInterfaceSp
 
typedef std::shared_ptr< const PeptideNaturalIsotopePeptideNaturalIsotopeSp
 
typedef std::shared_ptr< const PeptideNaturalIsotopeAveragePeptideNaturalIsotopeAverageSp
 
typedef std::shared_ptr< const PeptideNaturalIsotopeListPeptideNaturalIsotopeListSp
 
typedef const PrecisionBasePrecisionPtr
 
typedef std::shared_ptr< IntegrationScopeIntegrationScopeSPtr
 
typedef std::shared_ptr< const IntegrationScopeIntegrationScopeCstSPtr
 
typedef std::shared_ptr< IntegrationScopeBaseIntegrationScopeBaseSPtr
 
typedef std::shared_ptr< const IntegrationScopeBaseIntegrationScopeBaseCstSPtr
 
typedef std::shared_ptr< IntegrationScopeSpecIntegrationScopeSpecSPtr
 
typedef std::shared_ptr< const IntegrationScopeSpecIntegrationScopeSpecCstSPtr
 
typedef std::shared_ptr< IntegrationScopeRectIntegrationScopeRectSPtr
 
typedef std::shared_ptr< const IntegrationScopeRectIntegrationScopeRectCstSPtr
 
typedef std::shared_ptr< IntegrationScopeRhombIntegrationScopeRhombSPtr
 
typedef std::shared_ptr< const IntegrationScopeRhombIntegrationScopeRhombCstSPtr
 
typedef std::shared_ptr< const MassSpectrumCombinerMassSpectrumCombinerCstSPtr
 
typedef std::shared_ptr< MassSpectrumCombinerMassSpectrumCombinerSPtr
 
typedef std::shared_ptr< const MassSpectrumMinusCombinerMassSpectrumMinusCombinerCstSPtr
 
typedef std::shared_ptr< MassSpectrumMinusCombinerMassSpectrumMinusCombinerSPtr
 
typedef std::shared_ptr< const MassSpectrumPlusCombinerMassSpectrumPlusCombinerCstSPtr
 
typedef std::shared_ptr< MassSpectrumPlusCombinerMassSpectrumPlusCombinerSPtr
 
typedef std::shared_ptr< const TraceCombinerTraceCombinerCstSPtr
 
typedef std::shared_ptr< TraceCombinerTraceCombinerSPtr
 
typedef std::shared_ptr< const TraceMinusCombinerTraceMinusCombinerCstSPtr
 
typedef std::shared_ptr< TraceMinusCombinerTraceMinusCombinerSPtr
 
typedef std::shared_ptr< const TracePlusCombinerTracePlusCombinerCstSPtr
 
typedef std::shared_ptr< TracePlusCombinerTracePlusCombinerSPtr
 
typedef std::shared_ptr< TraceDetectionInterfaceTraceDetectionInterfaceSPtr
 
typedef std::shared_ptr< const TraceDetectionInterfaceTraceDetectionInterfaceCstSPtr
 
typedef std::shared_ptr< const TracePeakTracePeakCstSPtr
 
typedef std::shared_ptr< FilterCeilingAmplitudePercentageFilterCeilingAmplitudePercentageSPtr
 
typedef std::shared_ptr< const FilterCeilingAmplitudePercentageFilterCeilingAmplitudePercentageCstSPtr
 
typedef std::shared_ptr< FilterFloorAmplitudePercentageFilterFloorAmplitudePercentageSPtr
 
typedef std::shared_ptr< const FilterFloorAmplitudePercentageFilterFloorAmplitudePercentageCstSPtr
 
typedef std::shared_ptr< FilterInterfaceFilterInterfaceSPtr
 
typedef std::shared_ptr< const FilterInterfaceFilterInterfaceCstSPtr
 
typedef std::shared_ptr< FilterLowIntensitySignalRemovalFilterLowIntensitySignalRemovalSPtr
 
typedef std::shared_ptr< const FilterLowIntensitySignalRemovalFilterLowIntensitySignalRemovalCstSPtr
 
typedef std::shared_ptr< FilterNameInterfaceFilterNameInterfaceSPtr
 
typedef std::shared_ptr< const FilterNameInterfaceFilterNameInterfaceCstSPtr
 
typedef std::shared_ptr< FilterNormalizeIntensitiesFilterNormalizeIntensitiesSPtr
 
typedef std::shared_ptr< const FilterNormalizeIntensitiesFilterNormalizeIntensitiesCstSPtr
 
using IntegrationScopeSpecVector = std::vector<IntegrationScopeSpec>
 
typedef std::shared_ptr< FilterSuiteStringFilterSuiteStringSPtr
 
typedef std::shared_ptr< FilterSavitzkyGolayFilterSavitzkyGolaySPtr
 
typedef std::shared_ptr< const FilterSavitzkyGolayFilterSavitzkyGolayCstSPtr
 
typedef std::shared_ptr< const ProteinProteinSp
 shared pointer on a Protein object
 
typedef std::shared_ptr< const PeakIonIsotopeMatchPeakIonIsotopeMatchCstSPtr
 
typedef std::shared_ptr< const DataPointDataPointCstSPtr
 
typedef std::shared_ptr< MapTraceMapTraceSPtr
 
typedef std::shared_ptr< const MapTraceMapTraceCstSPtr
 
typedef std::shared_ptr< TraceTraceSPtr
 
typedef std::shared_ptr< const TraceTraceCstSPtr
 
typedef QString PeptideStr
 A type definition for PeptideStr.
 
typedef double pappso_double
 A type definition for doubles.
 
typedef float pappso_float
 
typedef unsigned int uint
 
typedef std::shared_ptr< MzCalibrationInterfaceMzCalibrationInterfaceSPtr
 
typedef std::shared_ptr< TimsDataTimsDataSp
 shared pointer on a TimsData object
 
typedef std::shared_ptr< TimsFrameTimsFrameSPtr
 
typedef std::shared_ptr< const TimsFrameTimsFrameCstSPtr
 
typedef std::shared_ptr< TimsFrameBaseTimsFrameBaseSPtr
 
typedef std::shared_ptr< const TimsFrameBaseTimsFrameBaseCstSPtr
 
typedef std::shared_ptr< XicQualifiedXicSp
 
typedef std::shared_ptr< const XicXicCstSPtr
 
typedef std::shared_ptr< XicXicSPtr
 
typedef std::shared_ptr< MsRunXicExtractorInterfaceMsRunXicExtractorInterfaceSp
 
typedef std::shared_ptr< const MsRunSliceMsRunSliceSPtr
 
typedef std::shared_ptr< BaseColorMapPlotWidgetBaseColorMapPlotWidgetSPtr
 
typedef std::shared_ptr< const BaseColorMapPlotWidgetBaseColorMapPlotWidgetCstSPtr
 
typedef std::shared_ptr< BasePlotWidgetBasePlotWidgetSPtr
 
typedef std::shared_ptr< const BasePlotWidgetBasePlotWidgetCstSPtr
 
typedef std::shared_ptr< BaseTracePlotWidgetBaseTracePlotWidgetSPtr
 
typedef std::shared_ptr< const BaseTracePlotWidgetBaseTracePlotWidgetCstSPtr
 
typedef std::vector< std::pair< XicCstSPtr, TracePeakCstSPtr > > XicXicPeakPairList
 

Enumerations

enum class  QualifiedMassSpectrumParameter {
  IonMobOneOverK0 , IonMobOneOverK0Begin , IonMobOneOverK0End , TimsIonMobScanIndex ,
  TimsFrameIonMobScanIndexBegin , TimsFrameIonMobScanIndexEnd , IsolationMz , IsolationMzWidth ,
  CollisionEnergy , BrukerPrecursorIndex , TimsFrameScansCount , TimsFrameMzIndexBegin ,
  TimsFrameMzIndexEnd , ScanNumber , last
}
 
enum class  MsRunReadConfigParameter {
  TimsFrameIonMobScanIndexBegin , TimsFrameIonMobScanIndexEnd , TimsFrameIonMobOneOverK0Begin , TimsFrameIonMobOneOverK0End ,
  MzRangeBegin , MzRangeEnd , TimsFrameMzIndexMergeWindow
}
 
enum class  XicCoordParam : std::int8_t { TimsTofIonMobilityScanNumberStart , TimsTofIonMobilityScanNumberStop }
 
enum class  PeptideDirection : std::int8_t { Nter = 0 , Cter = 1 }
 
enum class  PeptideIonNter {
  b , bstar , bo , a ,
  astar , ao , bp , c
}
 
enum class  PeptideIonCter {
  y , ystar , yo , z ,
  yp , x
}
 
enum class  AtomIsotope {
  C , H , O , N ,
  S
}
 
enum class  RawFragmentationMode : std::int8_t { full = 0 , proline_effect = 1 }
 
enum  IntegrationScopeFeatures {
  FAILURE = 0x0000 , SUCCESS = 1 << 1 , FLAT_ON_X_AXIS = 1 << 2 , FLAT_ON_Y_AXIS = 1 << 3 ,
  RHOMBOID_VERTICAL = 1 << 4 , RHOMBOID_HORIZONTAL = 1 << 5 , NOT_PRINTABLE = 1 << 6 , FLAT_ON_ANY_AXIS = (FLAT_ON_X_AXIS | FLAT_ON_Y_AXIS)
}
 
enum class  PointSpec {
  TOP_LEFT_POINT = 0 , TOP_RIGHT_POINT = 1 , BOTTOM_RIGHT_POINT = 2 , BOTTOM_LEFT_POINT = 3 ,
  ENUM_LAST = 4
}
 
enum class  DataDimension { NOT_SET = 0 , HORIZONTAL , VERTICAL }
 
enum class  ProjectParamCategory : std::int8_t {
  undefined = 0 , general = 1 , identification = 2 , filter = 3 ,
  quantification = 4 , instrument = 5
}
 
enum class  DeepProtMatchType : std::uint8_t {
  uncategorized = 0 , ZeroMassDelta = 1 , ZeroMassDeltaMissedCleavage , ZeroMassDeltaSemiTryptic ,
  DeltaPosition = 4 , NoDeltaPosition = 5 , last = 6
}
 definition of different class of PSMs used by DeepProt More...
 
enum class  DeepProtPeptideCandidateStatus : std::uint8_t {
  unmodified = 0 , ZeroMassDelta = 1 , CterRemoval = 2 , NterRemoval = 3 ,
  MissedCleavage = 4 , DeltaPosition = 5 , NoDeltaPosition = 6 , last = 7
}
 definition of different status for potential peptide candidates on the same spectrum More...
 
enum class  MsRunXicExtractorFactoryType : std::int8_t { nose = 0 , direct = 1 , disk = 2 , diskbuffer }
 
enum class  DragDirections {
  NOT_SET = 0x0000 , LEFT_TO_RIGHT = 1 << 0 , RIGHT_TO_LEFT = 1 << 1 , TOP_TO_BOTTOM = 1 << 2 ,
  BOTTOM_TO_TOP = 1 << 3
}
 
enum class  SelectionDrawingLines {
  NOT_SET = 0x0000 , TOP_LINE = 1 << 0 , BOTTOM_LINE = 1 << 1 , HORIZONTAL_LINES = (TOP_LINE | BOTTOM_LINE) ,
  RIGHT_LINE = 1 << 2 , LEFT_LINE = 1 << 3 , VERTICAL_LINES = (RIGHT_LINE | LEFT_LINE) , FULL_POLYGON = (HORIZONTAL_LINES | VERTICAL_LINES)
}
 
enum class  RangeType { outermost = 1 , innermost = 2 }
 

Functions

bool operator== (Aa const &l, Aa const &r)
 
bool operator< (Aa const &l, Aa const &r)
 
std::unordered_map< NamespaceClassnamePairAsKey, RegisterFunc, NamespaceClassnameAsKeyHash, AreNamespaceClassnamePairsEqual > & getNameSpaceClassNameJsConstructorRegistrarMap ()
 
void registerJsConstructorForEachClassInRegistrarMap (QJSEngine *engine)
 
void registerJsConstructorForNameSpaceClassNameInRegistrarMap (const QString &name_space, const QString &class_name, QJSEngine *engine)
 
void registerQmlTypes (const char *uri, int versionMajor, int versionMinor)
 
void registerEnumsToQJSEngine (QJSEngine *engine)
 
QDataStream & operator<< (QDataStream &outstream, const MassSpectrum &massSpectrum)
 
QDataStream & operator>> (QDataStream &instream, MassSpectrum &massSpectrum)
 
bool operator< (const pappso::Peptide &l, const pappso::Peptide &r)
 
bool operator== (const pappso::Peptide &l, const pappso::Peptide &r)
 
bool peptideIonTypeIsComplement (Enums::PeptideIon ion_type_ref, Enums::PeptideIon ion_type)
 tells if an ion type is the complement ion of the other
 
bool peptideIonIsNter (Enums::PeptideIon ion_type)
 tells if an ion is Nter
 
PeptideDirection getPeptideIonDirection (Enums::PeptideIon ion_type)
 get the direction of a peptide ion
 
uint64_t Combinations (unsigned int n, unsigned int k)
 
pappso_double isotopem_ratio (pappso_double abundance, unsigned int total, unsigned int heavy)
 
pappso_double isotopem_ratio_cache (Enums::Isotope isotope, unsigned int total, unsigned int heavy)
 
std::vector< PeptideNaturalIsotopeAverageSpgetByIntensityRatioByIsotopeNumber (const PeptideInterfaceSp &peptide, unsigned int charge, PrecisionPtr precision, unsigned int isotopeNumber, pappso_double minimumIntensity)
 
MzIntegrationParams::BinningType getBinningTypeFromString (const QString &text)
 
constexpr MzIntegrationParams::InitializationResult operator| (MzIntegrationParams::InitializationResult a, MzIntegrationParams::InitializationResult b)
 
constexpr MzIntegrationParams::InitializationResult operator& (MzIntegrationParams::InitializationResult a, MzIntegrationParams::InitializationResult b)
 
constexpr MzIntegrationParams::InitializationResult operator|= (MzIntegrationParams::InitializationResult &a, MzIntegrationParams::InitializationResult b)
 
PMSPP_LIB_DECL std::vector< TracePeak >::iterator findBestTracePeakGivenRtList (std::vector< TracePeak >::iterator begin, std::vector< TracePeak >::iterator end, const std::vector< double > &rt_list, std::size_t &nb_peaks)
 find the best peak matching a list of retention times
 
PMSPP_LIB_DECL std::vector< TracePeak >::iterator findTracePeakGivenRt (std::vector< TracePeak >::iterator begin, std::vector< TracePeak >::iterator end, double rt)
 find the peak matching a retention time
 
std::vector< PeakIonIsotopeMatch >::iterator findComplementIonType (std::vector< PeakIonIsotopeMatch >::iterator begin, std::vector< PeakIonIsotopeMatch >::iterator end, const PeakIonIsotopeMatch &peak_ion, std::size_t peptide_size)
 find the first element containing the complementary ion complementary ion of y1 is b(n-1) for instance
 
unsigned int factorial (unsigned int n)
 
QDataStream & operator<< (QDataStream &out, const DataPoint &dataPoint)
 
QDataStream & operator>> (QDataStream &in, DataPoint &dataPoint)
 
PMSPP_LIB_DECL QDataStream & operator<< (QDataStream &out, const Trace &trace)
 
PMSPP_LIB_DECL QDataStream & operator>> (QDataStream &out, Trace &trace)
 
std::vector< DataPoint >::iterator findFirstEqualOrGreaterX (std::vector< DataPoint >::iterator begin, std::vector< DataPoint >::iterator end, const double &value)
 find the first element in which X is equal or greater than the value searched important : it implies that Trace is sorted by X
 
std::vector< DataPoint >::const_iterator findFirstEqualOrGreaterX (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end, const double &value)
 
std::vector< DataPoint >::iterator findFirstGreaterX (std::vector< DataPoint >::iterator begin, std::vector< DataPoint >::iterator end, const double &value)
 find the first element in which X is greater than the value searched important : it implies that Trace is sorted by X
 
std::vector< DataPoint >::const_iterator findFirstGreaterX (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end, const double &value)
 
std::vector< DataPoint >::iterator findDifferentYvalue (std::vector< DataPoint >::iterator begin, std::vector< DataPoint >::iterator end, const double &y_value)
 find the first element in which Y is different of value
 
std::vector< DataPoint >::const_iterator findDifferentYvalue (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end, const double &y_value)
 
std::vector< DataPoint >::const_iterator minYDataPoint (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end)
 
std::vector< DataPoint >::iterator minYDataPoint (std::vector< DataPoint >::iterator begin, std::vector< DataPoint >::iterator end)
 find the element with the smallest Y value (intensity)
 
std::vector< DataPoint >::const_iterator maxYDataPoint (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end)
 
std::vector< DataPoint >::iterator maxYDataPoint (std::vector< DataPoint >::iterator begin, std::vector< DataPoint >::iterator end)
 find the element with the greatest Y value (intensity)
 
std::vector< DataPoint >::const_iterator moveLowerYRigthDataPoint (const Trace &trace, std::vector< DataPoint >::const_iterator begin)
 Move right to the lower value.
 
std::vector< DataPoint >::const_iterator moveLowerYLeftDataPoint (const Trace &trace, std::vector< DataPoint >::const_iterator begin)
 Move left to the lower value.
 
double sumYTrace (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end, double init)
 calculate the sum of y value of a trace
 
double meanYTrace (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end)
 calculate the mean of y value of a trace
 
double quantileYTrace (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end, double quantile)
 calculate the quantile of y value of a trace
 
double medianYTrace (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end)
 calculate the median of y value of a trace
 
double areaTrace (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end)
 calculate the area of a trace
 
Trace flooredLocalMaxima (std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end, double y_floor)
 
const pappso_double MHPLUS (1.007276466879)
 
const pappso_double MPROTON (1.007276466879)
 
const pappso_double MPROTIUM (1.007825032241)
 
const pappso_double ONEMILLION (1000000)
 
const pappso_double MASSOXYGEN (15.99491461956)
 
const pappso_double MASSCARBON (12)
 
const pappso_double MASSH2O ((MPROTIUM *2)+MASSOXYGEN)
 
const pappso_double MASSNITROGEN (14.0030740048)
 
const pappso_double MASSNH3 ((MPROTIUM *3)+MASSNITROGEN)
 
const pappso_double MASSCO (MASSCARBON+MASSOXYGEN)
 
const pappso_double MASSPHOSPHORUS (30.973761998)
 
const pappso_double MASSSULFUR (31.9720711741)
 
const pappso_double MASSPHOSPHORYLATEDR (MPROTIUM+(MASSOXYGEN *3)+MASSPHOSPHORUS)
 
const pappso_double MASSSELENIUM (79.916520)
 
const pappso_double DIFFC12C13 (1.0033548378)
 
const pappso_double DIFFS32S33 (32.9714589101 - MASSSULFUR)
 
const pappso_double DIFFS32S34 (33.9678670300 - MASSSULFUR)
 
const pappso_double DIFFS32S36 (35.9670812000 - MASSSULFUR)
 
const pappso_double DIFFH1H2 (2.0141017778 - MPROTIUM)
 
const pappso_double DIFFO16O18 (17.9991610 - MASSOXYGEN)
 
const pappso_double DIFFO16O17 (16.99913150 - MASSOXYGEN)
 
const pappso_double DIFFN14N15 (15.0001088982 - MASSNITROGEN)
 
const pappso_double ABUNDANCEH2 (0.00011570983569203332000374651045149221317842602729797363281250)
 
const pappso_double ABUNDANCEN15 (0.00364198543205827118818262988497735932469367980957031250000000)
 
const pappso_double ABUNDANCEO17 (0.00038099847600609595965615028489992255344986915588378906250000)
 
const pappso_double ABUNDANCEO18 (0.00205139179443282221315669744399201590567827224731445312500000)
 
const pappso_double ABUNDANCEC13 (0.01078805814953308406245469086570665240287780761718750000000000)
 
const pappso_double ABUNDANCEC12 (0.98921194185046687152862432412803173065185546875000000000000000)
 
const pappso_double ABUNDANCES33 (0.00751939844812414937003097747947322204709053039550781250000000)
 
const pappso_double ABUNDANCES34 (0.04252059835213182203972337447339668869972229003906250000000000)
 
const pappso_double ABUNDANCES36 (0.00010999120070394368536836893213148869108408689498901367187500)
 
QDataStream & operator>> (QDataStream &instream, MsRunSlice &slice)
 

Variables

static const std::size_t CHECKED_LINES_COUNT = 10
 
constexpr std::size_t MAX_MS_LEVELS = 12
 
class PMSPP_LIB_DECL MsRunReader
 
uint64_t combinations_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
pappso_double ratioC13_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
pappso_double ratioN15_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
pappso_double ratioS36_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
pappso_double ratioS34_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
pappso_double ratioS33_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
pappso_double ratioO17_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
pappso_double ratioO18_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
pappso_double ratioH2_cache [CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}
 
std::map< Enums::PrecisionUnit, QString > precisionUnitMap
 
std::map< MzIntegrationParams::BinningType, QString > binningTypeMap
 Map relating the BinningType to a textual representation.
 
std::map< Enums::DataKind, QString > dataKindMap
 
std::map< Qt::MouseButton, QString > qtMouseButtonMap
 
std::map< Qt::MouseButtons, QString > qtMouseButtonsMap
 

Detailed Description

tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multicharge peaks to monocharge

tries to keep as much as possible monoisotopes, removing any possible C13 peaks

first sort peaks by decreasing intensities, then keep most intense ones and avoid any peaks in possible C13 windows after

Todo
write docs
Todo
write docs
Todo
write docs

Typedef Documentation

◆ AaModificationP

Definition at line 52 of file aamodification.h.

◆ AaModificationUp

typedef std::unique_ptr<const AaModification> pappso::AaModificationUp

Definition at line 51 of file aamodification.h.

◆ AaStringCodecSp

typedef std::shared_ptr<const AaStringCodec> pappso::AaStringCodecSp

shared pointer on a Protein object

Definition at line 41 of file aastringcodec.h.

◆ BaseColorMapPlotWidgetCstSPtr

Definition at line 61 of file basecolormapplotwidget.h.

◆ BaseColorMapPlotWidgetSPtr

Definition at line 59 of file basecolormapplotwidget.h.

◆ BasePlotWidgetCstSPtr

typedef std::shared_ptr<const BasePlotWidget> pappso::BasePlotWidgetCstSPtr

Definition at line 81 of file baseplotwidget.h.

◆ BasePlotWidgetSPtr

typedef std::shared_ptr<BasePlotWidget> pappso::BasePlotWidgetSPtr

Definition at line 80 of file baseplotwidget.h.

◆ BaseTracePlotWidgetCstSPtr

Definition at line 57 of file basetraceplotwidget.h.

◆ BaseTracePlotWidgetSPtr

Definition at line 56 of file basetraceplotwidget.h.

◆ DataPointCstSPtr

typedef std::shared_ptr<const DataPoint> pappso::DataPointCstSPtr

Definition at line 18 of file datapoint.h.

◆ FastaFileIndexerSPtr

Definition at line 49 of file fastafileindexer.h.

◆ FilterCeilingAmplitudePercentageCstSPtr

◆ FilterCeilingAmplitudePercentageSPtr

◆ FilterFloorAmplitudePercentageCstSPtr

◆ FilterFloorAmplitudePercentageSPtr

◆ FilterInterfaceCstSPtr

typedef std::shared_ptr<const FilterInterface> pappso::FilterInterfaceCstSPtr

Definition at line 47 of file filterinterface.h.

◆ FilterInterfaceSPtr

typedef std::shared_ptr<FilterInterface> pappso::FilterInterfaceSPtr

Definition at line 46 of file filterinterface.h.

◆ FilterLowIntensitySignalRemovalCstSPtr

◆ FilterLowIntensitySignalRemovalSPtr

◆ FilterNameInterfaceCstSPtr

Definition at line 60 of file filternameinterface.h.

◆ FilterNameInterfaceSPtr

Definition at line 59 of file filternameinterface.h.

◆ FilterNormalizeIntensitiesCstSPtr

◆ FilterNormalizeIntensitiesSPtr

◆ FilterSavitzkyGolayCstSPtr

Definition at line 137 of file savgolfilter.h.

◆ FilterSavitzkyGolaySPtr

Definition at line 136 of file savgolfilter.h.

◆ FilterSuiteStringSPtr

Definition at line 83 of file filtersuitestring.h.

◆ GrpGroupSp

typedef std::shared_ptr<GrpGroup> pappso::GrpGroupSp

Definition at line 39 of file grpgroup.h.

◆ GrpGroupSpConst

typedef std::shared_ptr<const GrpGroup> pappso::GrpGroupSpConst

Definition at line 40 of file grpgroup.h.

◆ GrpPeptideSp

typedef std::shared_ptr<GrpPeptide> pappso::GrpPeptideSp

Definition at line 40 of file grppeptide.h.

◆ GrpPeptideSpConst

typedef std::shared_ptr<const GrpPeptide> pappso::GrpPeptideSpConst

Definition at line 39 of file grppeptide.h.

◆ GrpProteinSp

typedef std::shared_ptr<GrpProtein> pappso::GrpProteinSp

Definition at line 37 of file grpprotein.h.

◆ GrpProteinSpConst

typedef std::shared_ptr<const GrpProtein> pappso::GrpProteinSpConst

Definition at line 36 of file grpprotein.h.

◆ GrpSubGroupSp

typedef std::shared_ptr<GrpSubGroup> pappso::GrpSubGroupSp

Definition at line 39 of file grpsubgroup.h.

◆ GrpSubGroupSpConst

typedef std::shared_ptr<const GrpSubGroup> pappso::GrpSubGroupSpConst

Definition at line 38 of file grpsubgroup.h.

◆ IntegrationScopeBaseCstSPtr

Definition at line 120 of file integrationscopebase.h.

◆ IntegrationScopeBaseSPtr

Definition at line 119 of file integrationscopebase.h.

◆ IntegrationScopeCstSPtr

typedef std::shared_ptr<const IntegrationScope> pappso::IntegrationScopeCstSPtr

Definition at line 89 of file integrationscope.h.

◆ IntegrationScopeRectCstSPtr

Definition at line 94 of file integrationscoperect.h.

◆ IntegrationScopeRectSPtr

Definition at line 93 of file integrationscoperect.h.

◆ IntegrationScopeRhombCstSPtr

Definition at line 149 of file integrationscoperhomb.h.

◆ IntegrationScopeRhombSPtr

Definition at line 147 of file integrationscoperhomb.h.

◆ IntegrationScopeSpecCstSPtr

Definition at line 179 of file integrationscopebase.h.

◆ IntegrationScopeSpecSPtr

Definition at line 178 of file integrationscopebase.h.

◆ IntegrationScopeSpecVector

Definition at line 105 of file filterresample.h.

◆ IntegrationScopeSPtr

Definition at line 88 of file integrationscope.h.

◆ MapTraceCstSPtr

typedef std::shared_ptr<const MapTrace> pappso::MapTraceCstSPtr

Definition at line 29 of file maptrace.h.

◆ MapTraceSPtr

typedef std::shared_ptr<MapTrace> pappso::MapTraceSPtr

Definition at line 28 of file maptrace.h.

◆ MassSpectrumCombinerCstSPtr

Definition at line 24 of file massspectrumcombiner.h.

◆ MassSpectrumCombinerSPtr

Definition at line 25 of file massspectrumcombiner.h.

◆ MassSpectrumCstSPtr

typedef std::shared_ptr<const MassSpectrum> pappso::MassSpectrumCstSPtr

Definition at line 57 of file massspectrum.h.

◆ MassSpectrumMinusCombinerCstSPtr

Definition at line 20 of file massspectrumminuscombiner.h.

◆ MassSpectrumMinusCombinerSPtr

◆ MassSpectrumPlusCombinerCstSPtr

Definition at line 19 of file massspectrumpluscombiner.h.

◆ MassSpectrumPlusCombinerSPtr

◆ MassSpectrumSPtr

typedef std::shared_ptr<MassSpectrum> pappso::MassSpectrumSPtr

Definition at line 56 of file massspectrum.h.

◆ MsFileAccessorCstSPtr

typedef std::shared_ptr<const MsFileAccessor> pappso::MsFileAccessorCstSPtr

Definition at line 128 of file msfileaccessor.h.

◆ MsFileAccessorSPtr

typedef std::shared_ptr<MsFileAccessor> pappso::MsFileAccessorSPtr

Definition at line 127 of file msfileaccessor.h.

◆ MsRunDataSetTreeCstSPtr

typedef std::shared_ptr<const MsRunDataSetTree> pappso::MsRunDataSetTreeCstSPtr

Definition at line 26 of file msrundatasettree.h.

◆ MsRunDataSetTreeNodeCstSPtr

Definition at line 30 of file msrundatasettreenode.h.

◆ MsRunDataSetTreeNodeSPtr

Definition at line 29 of file msrundatasettreenode.h.

◆ MsRunDataSetTreeSPtr

Definition at line 25 of file msrundatasettree.h.

◆ MsRunIdCstSPtr

typedef std::shared_ptr<const MsRunId> pappso::MsRunIdCstSPtr

Definition at line 46 of file msrunid.h.

◆ MsRunIdSPtr

typedef std::shared_ptr<MsRunId> pappso::MsRunIdSPtr

Definition at line 45 of file msrunid.h.

◆ MsRunReaderCstSPtr

typedef std::shared_ptr<const MsRunReader> pappso::MsRunReaderCstSPtr

Definition at line 58 of file msrunreader.h.

◆ MsRunReaderSPtr

typedef std::shared_ptr<MsRunReader> pappso::MsRunReaderSPtr

Definition at line 57 of file msrunreader.h.

◆ MsRunSliceSPtr

typedef std::shared_ptr<const MsRunSlice> pappso::MsRunSliceSPtr

Definition at line 40 of file msrunslice.h.

◆ MsRunXicExtractorInterfaceSp

◆ MzCalibrationInterfaceSPtr

Definition at line 38 of file mzcalibrationinterface.h.

◆ NamespaceClassnamePairAsKey

using pappso::NamespaceClassnamePairAsKey = std::pair<QString, QString>

Definition at line 49 of file jsclassregistrar.h.

◆ NoConstPeptideSp

typedef std::shared_ptr<Peptide> pappso::NoConstPeptideSp

Definition at line 96 of file peptide.h.

◆ pappso_double

typedef double pappso::pappso_double

A type definition for doubles.

Definition at line 61 of file types.h.

◆ pappso_float

typedef float pappso::pappso_float

Definition at line 66 of file types.h.

◆ PeakIonIsotopeMatchCstSPtr

Definition at line 34 of file peakionisotopematch.h.

◆ PeptideFragmentIonListBaseSp

Definition at line 42 of file peptidefragmentionlistbase.h.

◆ PeptideFragmentIonSp

typedef std::shared_ptr<const PeptideFragmentIon> pappso::PeptideFragmentIonSp

Definition at line 46 of file peptidefragmention.h.

◆ PeptideFragmentSp

typedef std::shared_ptr<const PeptideFragment> pappso::PeptideFragmentSp

Definition at line 45 of file peptidefragment.h.

◆ PeptideInterfaceSp

typedef std::shared_ptr<const PeptideInterface> pappso::PeptideInterfaceSp

Definition at line 40 of file peptideinterface.h.

◆ PeptideNaturalIsotopeAverageSp

◆ PeptideNaturalIsotopeListSp

Definition at line 45 of file peptidenaturalisotopelist.h.

◆ PeptideNaturalIsotopeSp

Definition at line 43 of file peptidenaturalisotope.h.

◆ PeptideSp

typedef std::shared_ptr< const Peptide > pappso::PeptideSp

Definition at line 48 of file aamodification.h.

◆ PeptideStr

typedef QString pappso::PeptideStr

A type definition for PeptideStr.

Definition at line 56 of file types.h.

◆ PrecisionPtr

Definition at line 122 of file precision.h.

◆ ProteinSp

typedef std::shared_ptr<const Protein> pappso::ProteinSp

shared pointer on a Protein object

Definition at line 47 of file protein.h.

◆ QualifiedMassSpectrumCstSPtr

Definition at line 45 of file qualifiedmassspectrum.h.

◆ QualifiedMassSpectrumSPtr

Definition at line 43 of file qualifiedmassspectrum.h.

◆ QualifiedXicSp

typedef std::shared_ptr<Xic> pappso::QualifiedXicSp

Definition at line 42 of file qualifiedxic.h.

◆ RegisterFunc

using pappso::RegisterFunc = std::function<void(QJSEngine *)>

Definition at line 50 of file jsclassregistrar.h.

◆ TimsDataSp

typedef std::shared_ptr<TimsData> pappso::TimsDataSp

shared pointer on a TimsData object

Definition at line 54 of file timsdata.h.

◆ TimsFrameBaseCstSPtr

typedef std::shared_ptr<const TimsFrameBase> pappso::TimsFrameBaseCstSPtr

Definition at line 43 of file timsframebase.h.

◆ TimsFrameBaseSPtr

typedef std::shared_ptr<TimsFrameBase> pappso::TimsFrameBaseSPtr

Definition at line 42 of file timsframebase.h.

◆ TimsFrameCstSPtr

typedef std::shared_ptr<const TimsFrame> pappso::TimsFrameCstSPtr

Definition at line 44 of file timsframe.h.

◆ TimsFramesMsRunReaderCstSPtr

Definition at line 76 of file timsframesmsrunreader.h.

◆ TimsFramesMsRunReaderSPtr

Definition at line 75 of file timsframesmsrunreader.h.

◆ TimsFrameSPtr

typedef std::shared_ptr<TimsFrame> pappso::TimsFrameSPtr

Definition at line 43 of file timsframe.h.

◆ TimsMsRunReaderMs2SPtr

Definition at line 19 of file msfileaccessor.h.

◆ TraceCombinerCstSPtr

typedef std::shared_ptr<const TraceCombiner> pappso::TraceCombinerCstSPtr

Definition at line 23 of file tracecombiner.h.

◆ TraceCombinerSPtr

typedef std::shared_ptr<TraceCombiner> pappso::TraceCombinerSPtr

Definition at line 24 of file tracecombiner.h.

◆ TraceCstSPtr

typedef std::shared_ptr<const Trace> pappso::TraceCstSPtr

Definition at line 136 of file trace.h.

◆ TraceDetectionInterfaceCstSPtr

Definition at line 35 of file tracedetectioninterface.h.

◆ TraceDetectionInterfaceSPtr

Definition at line 33 of file tracedetectioninterface.h.

◆ TraceMinusCombinerCstSPtr

typedef std::shared_ptr<const TraceMinusCombiner> pappso::TraceMinusCombinerCstSPtr

Definition at line 22 of file traceminuscombiner.h.

◆ TraceMinusCombinerSPtr

Definition at line 23 of file traceminuscombiner.h.

◆ TracePeakCstSPtr

typedef std::shared_ptr<const TracePeak> pappso::TracePeakCstSPtr

Definition at line 35 of file tracepeak.h.

◆ TracePlusCombinerCstSPtr

typedef std::shared_ptr<const TracePlusCombiner> pappso::TracePlusCombinerCstSPtr

Definition at line 22 of file tracepluscombiner.h.

◆ TracePlusCombinerSPtr

Definition at line 23 of file tracepluscombiner.h.

◆ TraceSPtr

typedef std::shared_ptr<Trace> pappso::TraceSPtr

Definition at line 135 of file trace.h.

◆ uint

typedef unsigned int pappso::uint

Definition at line 68 of file types.h.

◆ XicCoordSPtr

typedef std::shared_ptr<XicCoord> pappso::XicCoordSPtr

Definition at line 44 of file xiccoord.h.

◆ XicCoordTimsSPtr

typedef std::shared_ptr<XicCoordTims> pappso::XicCoordTimsSPtr

Definition at line 40 of file xiccoordtims.h.

◆ XicCstSPtr

typedef std::shared_ptr<const Xic> pappso::XicCstSPtr

Definition at line 38 of file xic.h.

◆ XicSPtr

typedef std::shared_ptr<Xic> pappso::XicSPtr

Definition at line 39 of file xic.h.

◆ XicXicPeakPairList

typedef std::vector<std::pair<XicCstSPtr, TracePeakCstSPtr> > pappso::XicXicPeakPairList

Definition at line 45 of file xicwidget.h.

Enumeration Type Documentation

◆ AtomIsotope

◆ DataDimension

enum class pappso::DataDimension
strong
Enumerator
NOT_SET 
HORIZONTAL 
VERTICAL 

Definition at line 34 of file selectionpolygon.h.

◆ DeepProtMatchType

enum class pappso::DeepProtMatchType : std::uint8_t
strong

definition of different class of PSMs used by DeepProt

Enumerator
uncategorized 

precursor mass was not compared

ZeroMassDelta 

peptide candidate is in precursor mz range

ZeroMassDeltaMissedCleavage 

peptide candidate with missed cleavage is in precursor mz range

ZeroMassDeltaSemiTryptic 

semi tryptic peptide candidate is in precursor mz range

DeltaPosition 

spectrum shifter on peptide candidate has detected a position for the mass delta

NoDeltaPosition 

spectrum shifter on peptide candidate has not detected a position for the mass delta

last 

Definition at line 41 of file deepprotenum.h.

42{
43 uncategorized = 0, ///< precursor mass was not compared
44 ZeroMassDelta = 1, ///< peptide candidate is in precursor mz range
46 2, ///< peptide candidate with missed cleavage is in precursor mz range
48 3, ///< semi tryptic peptide candidate is in precursor mz range
49 DeltaPosition = 4, ///< spectrum shifter on peptide candidate has detected a
50 ///< position for the mass delta
51 NoDeltaPosition = 5, ///< spectrum shifter on peptide candidate has not
52 ///< detected a position for the mass delta
53 last = 6
54};
@ ZeroMassDeltaMissedCleavage
peptide candidate with missed cleavage is in precursor mz range
@ uncategorized
precursor mass was not compared
@ ZeroMassDelta
peptide candidate is in precursor mz range
@ ZeroMassDeltaSemiTryptic
semi tryptic peptide candidate is in precursor mz range

◆ DeepProtPeptideCandidateStatus

enum class pappso::DeepProtPeptideCandidateStatus : std::uint8_t
strong

definition of different status for potential peptide candidates on the same spectrum

Enumerator
unmodified 

precursor mass was not compared

ZeroMassDelta 
CterRemoval 
NterRemoval 
MissedCleavage 
DeltaPosition 
NoDeltaPosition 
last 

Definition at line 60 of file deepprotenum.h.

61{
62 unmodified = 0, ///< precursor mass was not compared
63 ZeroMassDelta = 1,
64 CterRemoval = 2,
65 NterRemoval = 3,
67 DeltaPosition = 5,
69 last = 7
70};
@ unmodified
precursor mass was not compared

◆ DragDirections

enum class pappso::DragDirections
strong
Enumerator
NOT_SET 
LEFT_TO_RIGHT 
RIGHT_TO_LEFT 
TOP_TO_BOTTOM 
BOTTOM_TO_TOP 

Definition at line 34 of file baseplotcontext.h.

◆ IntegrationScopeFeatures

Enumerator
FAILURE 
SUCCESS 
FLAT_ON_X_AXIS 
FLAT_ON_Y_AXIS 
RHOMBOID_VERTICAL 
RHOMBOID_HORIZONTAL 
NOT_PRINTABLE 
FLAT_ON_ANY_AXIS 

Definition at line 45 of file integrationscopebase.h.

46{
47 // This one needs to be 0 because of (if!<function>() syntax)
48 FAILURE = 0x0000,
49 // As soon as not 0, success and potentially with more info.
50 SUCCESS = 1 << 1,
51 FLAT_ON_X_AXIS = 1 << 2,
52 FLAT_ON_Y_AXIS = 1 << 3,
53 RHOMBOID_VERTICAL = 1 << 4,
54 RHOMBOID_HORIZONTAL = 1 << 5,
55 NOT_PRINTABLE = 1 << 6,
57};

◆ MsRunReadConfigParameter

Enumerator
TimsFrameIonMobScanIndexBegin 
TimsFrameIonMobScanIndexEnd 
TimsFrameIonMobOneOverK0Begin 
TimsFrameIonMobOneOverK0End 
MzRangeBegin 
MzRangeEnd 
TimsFrameMzIndexMergeWindow 

Definition at line 35 of file msrunreadconfig.h.

36{
37 // Only process mobility scans contained in the
38 // scan index range below.
41
42 // Only process mobility scans contained in the
43 // inverse mobility range below.
46
47 // Only process mass spectra for m/z values contained
48 // in the following m/z range.
51
52 // Merge m/z (TOF, really) indices on the basis of this
53 // count of m/z (TOF, really) indices.
55};

◆ MsRunXicExtractorFactoryType

enum class pappso::MsRunXicExtractorFactoryType : std::int8_t
strong
Enumerator
nose 

default factory

direct 

build a simple XIC extractor that directly uses Proeowizard library to read and extract XICs building the xic extractor is fast, but extracting each XIC is slow

disk 

build Xic extractor that first read the whole MsRun, put it on disk and extract XICs more quickly This needs some space on disk to store slices (1 dalton each) building the XIC extractor is slow extracting XIC from slices is a very quick operation

diskbuffer 

build Xic extractor that first read the whole MsRun, put it on disk using a write cache and extract XICs more quickly This needs some space on disk to store slices (1 dalton each) building the XIC extractor is slower than buildMsRunXicExtractorPwizSp, but faster than buildMsRunXicExtractorDiskSp extracting XIC from slices is a very quick operation

Definition at line 45 of file msrunxicextractorfactory.h.

46{
47 nose = 0, ///< default factory
48 direct = 1, ///< build a simple XIC extractor that directly uses Proeowizard
49 ///< library to read and extract XICs building the xic extractor
50 ///< is fast, but extracting each XIC is slow
51 disk = 2, ///< build Xic extractor that first read the whole MsRun, put it on
52 ///< disk and extract XICs more quickly This needs some space on
53 ///< disk to store slices (1 dalton each) building the XIC extractor
54 ///< is slow extracting XIC from slices is a very quick operation
56 3, ///< build Xic extractor that first read the whole MsRun, put it on disk
57 ///< using a write cache and extract XICs more quickly This needs some
58 ///< space on disk to store slices (1 dalton each) building the XIC
59 ///< extractor is slower than buildMsRunXicExtractorPwizSp, but faster
60 ///< than buildMsRunXicExtractorDiskSp extracting XIC from slices is a
61 ///< very quick operation
62};

◆ PeptideDirection

enum class pappso::PeptideDirection : std::int8_t
strong
Enumerator
Nter 
Cter 

Definition at line 45 of file peptide.h.

46{
47 Nter = 0,
48 Cter = 1
49};

◆ PeptideIonCter

enum class pappso::PeptideIonCter
strong
Enumerator
ystar 
yo 
yp 

Definition at line 83 of file peptide.h.

◆ PeptideIonNter

enum class pappso::PeptideIonNter
strong
Enumerator
bstar 
bo 
astar 
ao 
bp 

Definition at line 70 of file peptide.h.

◆ PointSpec

enum class pappso::PointSpec
strong
Enumerator
TOP_LEFT_POINT 
TOP_RIGHT_POINT 
BOTTOM_RIGHT_POINT 
BOTTOM_LEFT_POINT 
ENUM_LAST 

Definition at line 23 of file selectionpolygon.h.

24{
25 // Starting top left and then clockwise
30 ENUM_LAST = 4,
31};

◆ ProjectParamCategory

enum class pappso::ProjectParamCategory : std::int8_t
strong
Enumerator
undefined 

undefined

general 

concerning the whole process

identification 

concerning identification

filter 

concerning filters (psm, peptide, protein validation)

quantification 

quantification

instrument 

information about instrument

Definition at line 43 of file projectparameters.h.

44{
45 undefined = 0, ///< undefined
46 general = 1, ///< concerning the whole process
47 identification = 2, ///< concerning identification
48 filter = 3, ///< concerning filters (psm, peptide, protein validation)
49 quantification = 4, ///< quantification
50 instrument = 5, ///< information about instrument
51};
@ identification
concerning identification
@ instrument
information about instrument
@ general
concerning the whole process
@ filter
concerning filters (psm, peptide, protein validation)

◆ QualifiedMassSpectrumParameter

Enumerator
IonMobOneOverK0 

1/kO value

IonMobOneOverK0Begin 

1/K0 range's begin value

IonMobOneOverK0End 

1/K0 range's end value

TimsIonMobScanIndex 
TimsFrameIonMobScanIndexBegin 
TimsFrameIonMobScanIndexEnd 
IsolationMz 

Isolation m/z value.

IsolationMzWidth 

m/z isolation window width (left + right)

CollisionEnergy 

Bruker's timsTOF collision energy.

BrukerPrecursorIndex 

Bruker's timsTOF precursor index.

TimsFrameScansCount 

Bruker's timsTOF frame's total ion mobility slots.

TimsFrameMzIndexBegin 

Bruker's timsTOF mz index frame start range.

TimsFrameMzIndexEnd 

Bruker's timsTOF mz index frame end range.

ScanNumber 

Scan number: Ordinal number of the scan indicating its order of acquisition within a mass spectrometry acquisition run. MS_scan_number = 1003057,

last 

Definition at line 47 of file qualifiedmassspectrum.h.

48{
49
50 IonMobOneOverK0, ///< 1/kO value
51 IonMobOneOverK0Begin, ///< 1/K0 range's begin value
52 IonMobOneOverK0End, ///< 1/K0 range's end value
53
57
58 IsolationMz, ///< Isolation m/z value
59 IsolationMzWidth, ///< m/z isolation window width (left + right)
60
61 CollisionEnergy, ///< Bruker's timsTOF collision energy
62 BrukerPrecursorIndex, ///< Bruker's timsTOF precursor index
63 TimsFrameScansCount, ///< Bruker's timsTOF frame's total ion mobility slots
64
65 TimsFrameMzIndexBegin, ///< Bruker's timsTOF mz index frame start range
66 TimsFrameMzIndexEnd, ///< Bruker's timsTOF mz index frame end range
67
68 ScanNumber, ///< Scan number: Ordinal number of the scan indicating its order
69 ///< of acquisition within a mass spectrometry acquisition run.
70 ///< MS_scan_number = 1003057,
71 last
72};
@ IsolationMzWidth
m/z isolation window width (left + right)
@ TimsFrameMzIndexBegin
Bruker's timsTOF mz index frame start range.
@ CollisionEnergy
Bruker's timsTOF collision energy.
@ TimsFrameScansCount
Bruker's timsTOF frame's total ion mobility slots.
@ TimsFrameMzIndexEnd
Bruker's timsTOF mz index frame end range.
@ BrukerPrecursorIndex
Bruker's timsTOF precursor index.

◆ RangeType

enum class pappso::RangeType
strong
Enumerator
outermost 
innermost 

Definition at line 72 of file baseplotwidget.h.

◆ RawFragmentationMode

enum class pappso::RawFragmentationMode : std::int8_t
strong
Enumerator
full 
proline_effect 

Definition at line 42 of file peptiderawfragmentmasses.h.

◆ SelectionDrawingLines

enum class pappso::SelectionDrawingLines
strong
Enumerator
NOT_SET 
TOP_LINE 
BOTTOM_LINE 
HORIZONTAL_LINES 
RIGHT_LINE 
LEFT_LINE 
VERTICAL_LINES 
FULL_POLYGON 

Definition at line 55 of file baseplotwidget.h.

56 {
57 NOT_SET = 0x0000,
58
59 TOP_LINE = 1 << 0,
60 BOTTOM_LINE = 1 << 1,
61
63
64 RIGHT_LINE = 1 << 2,
65 LEFT_LINE = 1 << 3,
66
67 VERTICAL_LINES = (RIGHT_LINE | LEFT_LINE),
68
70 };

◆ XicCoordParam

enum class pappso::XicCoordParam : std::int8_t
strong
Enumerator
TimsTofIonMobilityScanNumberStart 

TimsTOF specific ion mobility start range

TimsTofIonMobilityScanNumberStop 

TimsTOF specific ion mobility stop range

Definition at line 50 of file xiccoord.h.

51{
52 TimsTofIonMobilityScanNumberStart, ///< TimsTOF specific ion mobility start
53 ///< range
54 TimsTofIonMobilityScanNumberStop, ///< TimsTOF specific ion mobility stop
55 ///< range
56};
@ TimsTofIonMobilityScanNumberStart
Definition xiccoord.h:52

Function Documentation

◆ ABUNDANCEC12()

const pappso_double pappso::ABUNDANCEC12 ( 0. 98921194185046687152862432412803173065185546875000000000000000)

◆ ABUNDANCEC13()

const pappso_double pappso::ABUNDANCEC13 ( 0. 01078805814953308406245469086570665240287780761718750000000000)

Referenced by isotopem_ratio_cache().

◆ ABUNDANCEH2()

const pappso_double pappso::ABUNDANCEH2 ( 0. 00011570983569203332000374651045149221317842602729797363281250)

Referenced by isotopem_ratio_cache().

◆ ABUNDANCEN15()

const pappso_double pappso::ABUNDANCEN15 ( 0. 00364198543205827118818262988497735932469367980957031250000000)

Referenced by isotopem_ratio_cache().

◆ ABUNDANCEO17()

const pappso_double pappso::ABUNDANCEO17 ( 0. 00038099847600609595965615028489992255344986915588378906250000)

Referenced by isotopem_ratio_cache().

◆ ABUNDANCEO18()

const pappso_double pappso::ABUNDANCEO18 ( 0. 00205139179443282221315669744399201590567827224731445312500000)

Referenced by isotopem_ratio_cache().

◆ ABUNDANCES33()

const pappso_double pappso::ABUNDANCES33 ( 0. 00751939844812414937003097747947322204709053039550781250000000)

Referenced by isotopem_ratio_cache().

◆ ABUNDANCES34()

const pappso_double pappso::ABUNDANCES34 ( 0. 04252059835213182203972337447339668869972229003906250000000000)

Referenced by isotopem_ratio_cache().

◆ ABUNDANCES36()

const pappso_double pappso::ABUNDANCES36 ( 0. 00010999120070394368536836893213148869108408689498901367187500)

Referenced by isotopem_ratio_cache().

◆ areaTrace()

PMSPP_LIB_DECL double pappso::areaTrace ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end )

calculate the area of a trace

Definition at line 288 of file trace.cpp.

289{
290
291 if(begin == end)
292 return 0;
293 auto previous = begin;
294 auto next = begin + 1;
295 double area = 0;
296 while(next != end)
297 {
298 area += ((next->x - previous->x) * (previous->y + next->y)) / (double)2;
299 previous++;
300 next++;
301 }
302 return area;
303}

Referenced by pappso::TracePeak::TracePeak(), and pappso::TracePeak::TracePeak().

◆ Combinations()

uint64_t pappso::Combinations ( unsigned int n,
unsigned int k )

Definition at line 47 of file peptidenaturalisotope.cpp.

48{
49 if(k > n)
50 return 0;
51
52 uint64_t r = 1;
53 if((n < CACHE_ARRAY_SIZE) && (combinations_cache[n][k] != 0))
54 {
55 return combinations_cache[n][k];
56 }
57 for(unsigned int d = 1; d <= k; ++d)
58 {
59 r *= n--;
60 r /= d;
61 }
62 if(n < CACHE_ARRAY_SIZE)
63 {
64 combinations_cache[n][k] = r;
65 }
66 return r;
67}
uint64_t combinations_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]
#define CACHE_ARRAY_SIZE

References CACHE_ARRAY_SIZE, and combinations_cache.

Referenced by isotopem_ratio().

◆ DIFFC12C13()

◆ DIFFH1H2()

◆ DIFFN14N15()

◆ DIFFO16O17()

◆ DIFFO16O18()

◆ DIFFS32S33()

◆ DIFFS32S34()

◆ DIFFS32S36()

◆ factorial()

unsigned int pappso::factorial ( unsigned int n)

Definition at line 43 of file xtandemhyperscore.cpp.

44{
45 unsigned int retval = 1;
46 for(int i = n; i > 1; --i)
47 retval *= i;
48 return retval;
49}

Referenced by pappso::XtandemHyperscore::XtandemHyperscore(), and pappso::XtandemHyperscoreBis::computeXtandemHyperscore().

◆ findBestTracePeakGivenRtList()

std::vector< TracePeak >::iterator pappso::findBestTracePeakGivenRtList ( std::vector< TracePeak >::iterator begin,
std::vector< TracePeak >::iterator end,
const std::vector< double > & rt_list,
std::size_t & nb_peaks )

find the best peak matching a list of retention times

Parameters
beginbegin iterator
endend iterator
rt_listretention time list in seconds
nb_peaksretrieve the number of detected peaks concerned by the retention times
Returns
iterator on the best peak (bigger area) concerned by the retention times

Definition at line 55 of file tracepeaklist.cpp.

59{
60 // get peak containing rt ahead :
61 auto itend = std::partition(begin, end, [rt_list](const TracePeak &a) {
62 for(double rt : rt_list)
63 {
64 if(a.containsRt(rt))
65 {
66 return true;
67 };
68 }
69 return false;
70 });
71 nb_peaks = std::distance(begin, itend);
72 if(nb_peaks == 0)
73 return end;
74 return std::max_element(
75 begin, itend, [](const TracePeak &a, const TracePeak &b) {
76 return a.getArea() < b.getArea();
77 });
78}

References a, and b.

Referenced by pappso::masschroq::PeptideMeasurements::detectQuantifyPeaks().

◆ findComplementIonType()

PMSPP_LIB_DECL std::vector< PeakIonIsotopeMatch >::iterator pappso::findComplementIonType ( std::vector< PeakIonIsotopeMatch >::iterator begin,
std::vector< PeakIonIsotopeMatch >::iterator end,
const PeakIonIsotopeMatch & peak_ion,
std::size_t peptide_size )

find the first element containing the complementary ion complementary ion of y1 is b(n-1) for instance

Definition at line 30 of file peakionisotopematch.cpp.

34{
35
36 return std::find_if(
37 begin,
38 end,
39 [peak_ion, peptide_size](const PeakIonIsotopeMatch &to_compare) {
40 if(to_compare.getCharge() == peak_ion.getCharge())
41 {
42 if((to_compare.getPeptideFragmentIonSp().get()->size() +
43 peak_ion.getPeptideFragmentIonSp().get()->size()) == peptide_size)
44 {
46 peak_ion.getPeptideIonType()))
47 {
49 .get()
50 ->getIsotopeNumber() ==
52 .get()
54 {
55 return true;
56 }
57 }
58 }
59 }
60
61 return false;
62 });
63}
virtual const PeptideNaturalIsotopeAverageSp & getPeptideNaturalIsotopeAverageSp() const
virtual const PeptideFragmentIonSp & getPeptideFragmentIonSp() const
Enums::PeptideIon getPeptideIonType() const
unsigned int getCharge() const
virtual unsigned int size() const override
bool peptideIonTypeIsComplement(Enums::PeptideIon ion_type_ref, Enums::PeptideIon ion_type)
tells if an ion type is the complement ion of the other
Definition peptide.cpp:68

References pappso::PeakIonMatch::getCharge(), pappso::PeptideNaturalIsotopeAverage::getIsotopeNumber(), pappso::PeakIonMatch::getPeptideFragmentIonSp(), pappso::PeakIonMatch::getPeptideIonType(), pappso::PeakIonIsotopeMatch::getPeptideNaturalIsotopeAverageSp(), peptideIonTypeIsComplement(), and pappso::PeptideFragmentIon::size().

Referenced by pappso::PsmFeatures::findComplementIonPairs().

◆ findDifferentYvalue() [1/2]

PMSPP_LIB_DECL std::vector< DataPoint >::const_iterator pappso::findDifferentYvalue ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end,
const double & y_value )

Definition at line 141 of file trace.cpp.

144{
145 return std::find_if(begin, end, [y_value](const DataPoint &to_compare) {
146 if(to_compare.y != y_value)
147 {
148 return true;
149 }
150
151 return false;
152 });
153}
pappso_double y
Definition datapoint.h:25

References pappso::DataPoint::y.

◆ findDifferentYvalue() [2/2]

PMSPP_LIB_DECL std::vector< DataPoint >::iterator pappso::findDifferentYvalue ( std::vector< DataPoint >::iterator begin,
std::vector< DataPoint >::iterator end,
const double & y_value )

find the first element in which Y is different of value

Definition at line 126 of file trace.cpp.

129{
130 return std::find_if(begin, end, [y_value](const DataPoint &to_compare) {
131 if(to_compare.y != y_value)
132 {
133 return true;
134 }
135
136 return false;
137 });
138}

References pappso::DataPoint::y.

Referenced by pappso::FilterMorphoAntiSpike::filter().

◆ findFirstEqualOrGreaterX() [1/2]

PMSPP_LIB_DECL std::vector< DataPoint >::const_iterator pappso::findFirstEqualOrGreaterX ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end,
const double & value )

Definition at line 84 of file trace.cpp.

87{
88 return std::find_if(begin, end, [value](const DataPoint &to_compare) {
89 if(to_compare.x < value)
90 {
91 return false;
92 }
93 return true;
94 });
95}
pappso_double x
Definition datapoint.h:24

References pappso::DataPoint::x.

◆ findFirstEqualOrGreaterX() [2/2]

PMSPP_LIB_DECL std::vector< DataPoint >::iterator pappso::findFirstEqualOrGreaterX ( std::vector< DataPoint >::iterator begin,
std::vector< DataPoint >::iterator end,
const double & value )

find the first element in which X is equal or greater than the value searched important : it implies that Trace is sorted by X

Definition at line 70 of file trace.cpp.

73{
74 return std::find_if(begin, end, [value](const DataPoint &to_compare) {
75 if(to_compare.x < value)
76 {
77 return false;
78 }
79 return true;
80 });
81}

References pappso::DataPoint::x.

Referenced by pappso::TraceDetectionZivy::detect(), pappso::FilterResampleKeepSmaller::filter(), pappso::FilterResampleKeepXRange::filter(), pappso::FilterResampleRemoveXRange::filter(), pappso::specglob::ExperimentalSpectrum::findMz(), pappso::Trace::maxY(), and pappso::Trace::sumY().

◆ findFirstGreaterX() [1/2]

PMSPP_LIB_DECL std::vector< DataPoint >::const_iterator pappso::findFirstGreaterX ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end,
const double & value )

Definition at line 112 of file trace.cpp.

115{
116 return std::find_if(begin, end, [value](const DataPoint &to_compare) {
117 if(to_compare.x > value)
118 {
119 return true;
120 }
121 return false;
122 });
123}

References pappso::DataPoint::x.

◆ findFirstGreaterX() [2/2]

PMSPP_LIB_DECL std::vector< DataPoint >::iterator pappso::findFirstGreaterX ( std::vector< DataPoint >::iterator begin,
std::vector< DataPoint >::iterator end,
const double & value )

find the first element in which X is greater than the value searched important : it implies that Trace is sorted by X

Definition at line 98 of file trace.cpp.

101{
102 return std::find_if(begin, end, [value](const DataPoint &to_compare) {
103 if(to_compare.x > value)
104 {
105 return true;
106 }
107 return false;
108 });
109}

References pappso::DataPoint::x.

Referenced by pappso::FilterResampleKeepGreater::filter(), pappso::FilterResampleKeepXRange::filter(), pappso::FilterResampleRemoveXRange::filter(), pappso::Trace::maxY(), and pappso::Trace::sumY().

◆ findTracePeakGivenRt()

std::vector< TracePeak >::iterator pappso::findTracePeakGivenRt ( std::vector< TracePeak >::iterator begin,
std::vector< TracePeak >::iterator end,
double rt )

find the peak matching a retention time

Parameters
beginbegin iterator
endend iterator
rtretention time in seconds
Returns
iterator on the peak concerned by the retention time

Definition at line 81 of file tracepeaklist.cpp.

84{
85 return find_if(
86 begin, end, [rt](const TracePeak &a) { return a.containsRt(rt); });
87}

References a.

Referenced by pappso::masschroq::MbrPeptideMeasurements::detectQuantifyPeaks().

◆ flooredLocalMaxima()

PMSPP_LIB_DECL Trace pappso::flooredLocalMaxima ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end,
double y_floor )

Definition at line 307 of file trace.cpp.

310{
311 Trace local_maxima_trace;
312
313 Trace single_peak_trace;
314
315 DataPoint previous_data_point;
316
317 for(auto iter = begin; iter != end; ++iter)
318 {
319 DataPoint iterated_data_point(iter->x, iter->y);
320
321 // qDebug().noquote() << "Current data point:"
322 //<< iterated_data_point.toString();
323
324 if(iterated_data_point.y < y_floor)
325 {
326 // qDebug() << "under the floor";
327
328 if(single_peak_trace.size())
329 {
330 // qDebug() << "There was a single peak trace cooking";
331
332 local_maxima_trace.push_back(single_peak_trace.maxYDataPoint());
333
334 // qDebug().noquote() << "pushed back local maximum point:"
335 //<< local_maxima_trace.back().toString();
336
337 // Clean and set the context.
338 single_peak_trace.clear();
339
340 previous_data_point = iterated_data_point;
341
342 continue;
343 }
344 else
345 {
346 // qDebug() << "no single peak trace cooking";
347
348 previous_data_point = iterated_data_point;
349
350 continue;
351 }
352 }
353 else
354 {
355 // qDebug() << "over the floor";
356
357 // The iterated value is greater than the y_floor value, so we need to
358 // handle it.
359
360 if(iterated_data_point.y == previous_data_point.y)
361 {
362 // We are in a flat region, no need to change anything to the
363 // context, just skip the point.
364 continue;
365 }
366 else if(iterated_data_point.y > previous_data_point.y)
367 {
368 // qDebug().noquote() << "ascending in a peak";
369
370 // The previously iterated y value was smaller than the presently
371 // iterated one, so we are ascending in a peak.
372
373 // All we need to do is set the context.
374
375 single_peak_trace.push_back(iterated_data_point);
376
377 // qDebug().noquote() << "pushed back normal point:"
378 //<< single_peak_trace.back().toString();
379
380 previous_data_point = iterated_data_point;
381
382 continue;
383 }
384 else
385 {
386 // qDebug().noquote() << "started descending in a peak";
387
388 // No, the currently iterated y value is less than the previously
389 // iterated value.
390
391 single_peak_trace.push_back(iterated_data_point);
392
393 // qDebug().noquote() << "pushed back normal point:"
394 //<< single_peak_trace.back().toString();
395
396 previous_data_point = iterated_data_point;
397
398 continue;
399 }
400 }
401 }
402 // End of
403 // for(auto iter = begin; iter != end; ++iter)
404
405 // Attention, we might arrive here with a peak being created, we need to get
406 // its maximum if that peak is non-empty;
407
408 if(single_peak_trace.size())
409 {
410
411 local_maxima_trace.push_back(single_peak_trace.maxYDataPoint());
412
413 // qDebug().noquote()
414 //<< "was cooking a peak: pushed back local maximum point:"
415 //<< local_maxima_trace.back().toString();
416 }
417
418 return local_maxima_trace;
419}
A simple container of DataPoint instances.
Definition trace.h:148
const DataPoint & maxYDataPoint() const
Definition trace.cpp:934

References pappso::Trace::maxYDataPoint(), and pappso::DataPoint::y.

◆ getBinningTypeFromString()

MzIntegrationParams::BinningType pappso::getBinningTypeFromString ( const QString & text)

Definition at line 73 of file mzintegrationparams.cpp.

74{
75 std::map<MzIntegrationParams::MzIntegrationParams::BinningType, QString>::const_iterator
76 the_iterator_const =
77 std::find_if(binningTypeMap.begin(),
78 binningTypeMap.end(),
79 [text](const std::pair<MzIntegrationParams::BinningType, QString> &pair) {
80 return pair.second == text;
81 });
82
83 if(the_iterator_const != binningTypeMap.end())
84 return the_iterator_const->first;
85
87}
std::map< MzIntegrationParams::BinningType, QString > binningTypeMap
Map relating the BinningType to a textual representation.

References binningTypeMap, and pappso::MzIntegrationParams::NONE.

Referenced by pappso::MzIntegrationParams::initialize().

◆ getByIntensityRatioByIsotopeNumber()

std::vector< PeptideNaturalIsotopeAverageSp > pappso::getByIntensityRatioByIsotopeNumber ( const PeptideInterfaceSp & peptide,
unsigned int charge,
PrecisionPtr precision,
unsigned int isotopeNumber,
pappso_double minimumIntensity )

/brief get a sorted (by expected intensity) vector of natural isotope average by isotope number

Definition at line 351 of file peptidenaturalisotopelist.cpp.

356{
357
358 // qDebug() << "getByIntensityRatioByIsotopeNumber begin";
359 unsigned int askedIsotopeRank;
360 unsigned int maxAskedIsotopeRank = 10;
361 pappso_double cumulativeRatio = 0;
362 std::vector<PeptideNaturalIsotopeAverageSp> v_isotopeAverageList;
363 std::vector<PeptideNaturalIsotopeAverageSp> v_isotopeAverageListResult;
364
365 std::vector<unsigned int> previousIsotopeRank;
366 bool isEmpty = false;
367 for(askedIsotopeRank = 1;
368 (askedIsotopeRank < maxAskedIsotopeRank) && (!isEmpty);
369 askedIsotopeRank++)
370 {
371 PeptideNaturalIsotopeAverage isotopeAverage(
372 peptide, askedIsotopeRank, isotopeNumber, charge, precision);
373 isEmpty = isotopeAverage.isEmpty();
374 if(isEmpty)
375 {
376 }
377 else
378 {
379 if(std::find(previousIsotopeRank.begin(),
380 previousIsotopeRank.end(),
381 isotopeAverage.getIsotopeRank()) ==
382 previousIsotopeRank.end())
383 { // not Found
384 previousIsotopeRank.push_back(isotopeAverage.getIsotopeRank());
385 v_isotopeAverageList.push_back(
386 isotopeAverage.makePeptideNaturalIsotopeAverageSp());
387 }
388 }
389 }
390 if(v_isotopeAverageList.size() == 0)
391 return v_isotopeAverageListResult;
392
393 // qDebug() << "getByIntensityRatioByIsotopeNumber comp";
394 std::sort(v_isotopeAverageList.begin(),
395 v_isotopeAverageList.end(),
398 return (m.get()->getIntensityRatio() >
399 n.get()->getIntensityRatio());
400 });
401
402 cumulativeRatio = 0;
403 auto it = v_isotopeAverageList.begin();
404 v_isotopeAverageListResult.clear();
405 // qDebug() << "getByIntensityRatioByIsotopeNumber cumul";
406 while((it != v_isotopeAverageList.end()) &&
407 (cumulativeRatio < minimumIntensity))
408 {
409 cumulativeRatio += it->get()->getIntensityRatio();
410 v_isotopeAverageListResult.push_back(*it);
411 it++;
412 }
413
414 // qDebug() << "getByIntensityRatioByIsotopeNumber end";
415
416 return v_isotopeAverageListResult;
417}
double pappso_double
A type definition for doubles.
Definition types.h:61
std::shared_ptr< const PeptideNaturalIsotopeAverage > PeptideNaturalIsotopeAverageSp

References pappso::PeptideNaturalIsotopeAverage::getIsotopeRank(), pappso::PeptideNaturalIsotopeAverage::isEmpty(), and pappso::PeptideNaturalIsotopeAverage::makePeptideNaturalIsotopeAverageSp().

◆ getNameSpaceClassNameJsConstructorRegistrarMap()

PMSPP_LIB_DECL std::unordered_map< NamespaceClassnamePairAsKey, RegisterFunc, NamespaceClassnameAsKeyHash, AreNamespaceClassnamePairsEqual > & pappso::getNameSpaceClassNameJsConstructorRegistrarMap ( )

◆ getPeptideIonDirection()

PMSPP_LIB_DECL PeptideDirection pappso::getPeptideIonDirection ( Enums::PeptideIon ion_type)

get the direction of a peptide ion

Parameters
ion_typethe ion to test
Returns
the peptide direction

Definition at line 95 of file peptide.cpp.

96{
97 if(peptideIonIsNter(ion_type))
98 {
100 }
102}
bool peptideIonIsNter(Enums::PeptideIon ion_type)
tells if an ion is Nter
Definition peptide.cpp:85

References Cter, Nter, and peptideIonIsNter().

Referenced by pappso::PeptideFragmentIon::PeptideFragmentIon(), and pappso::PeptideFragmentIon::getPeptideIonDirection().

◆ isotopem_ratio()

pappso_double pappso::isotopem_ratio ( pappso_double abundance,
unsigned int total,
unsigned int heavy )

Definition at line 79 of file peptidenaturalisotope.cpp.

80{
81 return (pow(abundance, heavy) * pow((double)1 - abundance, (total - heavy)) *
82 (double)Combinations(total, heavy));
83}
uint64_t Combinations(unsigned int n, unsigned int k)

References Combinations().

Referenced by isotopem_ratio_cache().

◆ isotopem_ratio_cache()

pappso_double pappso::isotopem_ratio_cache ( Enums::Isotope isotope,
unsigned int total,
unsigned int heavy )

Definition at line 95 of file peptidenaturalisotope.cpp.

96{
97 pappso_double abundance = 1;
98 switch(isotope)
99 {
101 abundance = ABUNDANCEH2;
102 if(total < CACHE_ARRAY_SIZE)
103 {
104 if(ratioH2_cache[total][heavy] == 0)
105 {
106 ratioH2_cache[total][heavy] = isotopem_ratio(abundance, total, heavy);
107 }
108 return ratioH2_cache[total][heavy];
109 }
110 break;
112 abundance = ABUNDANCEC13;
113 if(total < CACHE_ARRAY_SIZE)
114 {
115 if(ratioC13_cache[total][heavy] == 0)
116 {
117 ratioC13_cache[total][heavy] = isotopem_ratio(abundance, total, heavy);
118 }
119 return ratioC13_cache[total][heavy];
120 }
121 break;
123 abundance = ABUNDANCEN15;
124 if(total < CACHE_ARRAY_SIZE)
125 {
126 if(ratioN15_cache[total][heavy] == 0)
127 {
128 ratioN15_cache[total][heavy] = isotopem_ratio(abundance, total, heavy);
129 }
130 return ratioN15_cache[total][heavy];
131 }
132 break;
134 abundance = ABUNDANCEO18;
135 if(total < CACHE_ARRAY_SIZE)
136 {
137 if(ratioO18_cache[total][heavy] == 0)
138 {
139 ratioO18_cache[total][heavy] = isotopem_ratio(abundance, total, heavy);
140 }
141 return ratioO18_cache[total][heavy];
142 }
143 break;
145 abundance = ABUNDANCEO17;
146 if(total < CACHE_ARRAY_SIZE)
147 {
148 if(ratioO17_cache[total][heavy] == 0)
149 {
150 ratioO17_cache[total][heavy] = isotopem_ratio(abundance, total, heavy);
151 }
152 return ratioO17_cache[total][heavy];
153 }
154 break;
156 abundance = ABUNDANCES33;
157 if(total < CACHE_ARRAY_SIZE)
158 {
159 if(ratioS33_cache[total][heavy] == 0)
160 {
161 ratioS33_cache[total][heavy] = isotopem_ratio(abundance, total, heavy);
162 }
163 return ratioS33_cache[total][heavy];
164 }
165 break;
167 abundance = ABUNDANCES34;
168 if(total < CACHE_ARRAY_SIZE)
169 {
170 if(ratioS34_cache[total][heavy] == 0)
171 {
172 ratioS34_cache[total][heavy] = isotopem_ratio(abundance, total, heavy);
173 }
174 return ratioS34_cache[total][heavy];
175 }
176 break;
178 abundance = ABUNDANCES36;
179 if(total < CACHE_ARRAY_SIZE)
180 {
181 if(ratioS36_cache[total][heavy] == 0)
182 {
183 ratioS36_cache[total][heavy] = isotopem_ratio(abundance, total, heavy);
184 }
185 return ratioS36_cache[total][heavy];
186 }
187 break;
188 default:
189 break;
190 }
191 return isotopem_ratio(abundance, total, heavy);
192}
pappso_double ratioO17_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]
const pappso_double ABUNDANCES36(0.00010999120070394368536836893213148869108408689498901367187500)
pappso_double ratioS34_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]
const pappso_double ABUNDANCEN15(0.00364198543205827118818262988497735932469367980957031250000000)
pappso_double ratioC13_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]
pappso_double isotopem_ratio(pappso_double abundance, unsigned int total, unsigned int heavy)
pappso_double ratioH2_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]
const pappso_double ABUNDANCEC13(0.01078805814953308406245469086570665240287780761718750000000000)
const pappso_double ABUNDANCEO17(0.00038099847600609595965615028489992255344986915588378906250000)
const pappso_double ABUNDANCEH2(0.00011570983569203332000374651045149221317842602729797363281250)
pappso_double ratioO18_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]
const pappso_double ABUNDANCES34(0.04252059835213182203972337447339668869972229003906250000000000)
pappso_double ratioS36_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]
const pappso_double ABUNDANCEO18(0.00205139179443282221315669744399201590567827224731445312500000)
const pappso_double ABUNDANCES33(0.00751939844812414937003097747947322204709053039550781250000000)
pappso_double ratioN15_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]
pappso_double ratioS33_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE]

References ABUNDANCEC13(), ABUNDANCEH2(), ABUNDANCEN15(), ABUNDANCEO17(), ABUNDANCEO18(), ABUNDANCES33(), ABUNDANCES34(), ABUNDANCES36(), pappso::Enums::C13, CACHE_ARRAY_SIZE, pappso::Enums::H2, isotopem_ratio(), pappso::Enums::N15, pappso::Enums::O17, pappso::Enums::O18, ratioC13_cache, ratioH2_cache, ratioN15_cache, ratioO17_cache, ratioO18_cache, ratioS33_cache, ratioS34_cache, ratioS36_cache, pappso::Enums::S33, pappso::Enums::S34, and pappso::Enums::S36.

Referenced by pappso::PeptideNaturalIsotope::PeptideNaturalIsotope(), and pappso::PeptideNaturalIsotope::getIntensityRatio().

◆ MASSCARBON()

◆ MASSCO()

const pappso_double pappso::MASSCO ( MASSCARBON+ MASSOXYGEN)

References MASSCARBON(), and MASSOXYGEN().

◆ MASSH2O()

◆ MASSNH3()

const pappso_double pappso::MASSNH3 ( (MPROTIUM *3)+ MASSNITROGEN)

References MASSNITROGEN(), and MPROTIUM().

◆ MASSNITROGEN()

◆ MASSOXYGEN()

◆ MASSPHOSPHORUS()

const pappso_double pappso::MASSPHOSPHORUS ( 30. 973761998)

◆ MASSPHOSPHORYLATEDR()

const pappso_double pappso::MASSPHOSPHORYLATEDR ( MPROTIUM+(MASSOXYGEN *3)+ MASSPHOSPHORUS)

◆ MASSSELENIUM()

const pappso_double pappso::MASSSELENIUM ( 79. 916520)

◆ MASSSULFUR()

◆ maxYDataPoint() [1/2]

◆ maxYDataPoint() [2/2]

PMSPP_LIB_DECL std::vector< DataPoint >::iterator pappso::maxYDataPoint ( std::vector< DataPoint >::iterator begin,
std::vector< DataPoint >::iterator end )

find the element with the greatest Y value (intensity)

Definition at line 183 of file trace.cpp.

184{
185 return std::max_element(
186 begin, end, [](const DataPoint &a, const DataPoint &b) { return a.y < b.y; });
187}

References a, and b.

◆ meanYTrace()

PMSPP_LIB_DECL double pappso::meanYTrace ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end )

calculate the mean of y value of a trace

Definition at line 239 of file trace.cpp.

240{
241 pappso_double nb_element = distance(begin, end);
242 if(nb_element == 0)
243 throw ExceptionOutOfRange(QObject::tr("unable to compute mean on a trace of size 0"));
244 return (sumYTrace(begin, end, 0) / nb_element);
245}
double sumYTrace(std::vector< DataPoint >::const_iterator begin, std::vector< DataPoint >::const_iterator end, double init)
calculate the sum of y value of a trace
Definition trace.cpp:231

References sumYTrace().

Referenced by pappso::LinearRegression::getCoefficientOfDetermination(), and pappso::FilterMorphoMean::getWindowValue().

◆ medianYTrace()

PMSPP_LIB_DECL double pappso::medianYTrace ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end )

calculate the median of y value of a trace

Definition at line 272 of file trace.cpp.

274{
275 std::size_t nb_element = distance(begin, end);
276 if(nb_element == 0)
277 throw ExceptionOutOfRange(QObject::tr("unable to compute median on a trace of size 0"));
278
279 std::vector<DataPoint> data(begin, end);
280 std::nth_element(data.begin(),
281 data.begin() + data.size() / 2,
282 data.end(),
283 [](const DataPoint &a, const DataPoint &b) { return a.y < b.y; });
284 return data[data.size() / 2].y;
285}

References a, and b.

Referenced by pappso::FilterMorphoMedian::getWindowValue().

◆ MHPLUS()

◆ minYDataPoint() [1/2]

PMSPP_LIB_DECL std::vector< DataPoint >::const_iterator pappso::minYDataPoint ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end )

Definition at line 157 of file trace.cpp.

159{
160 return std::min_element(
161 begin, end, [](const DataPoint &a, const DataPoint &b) { return a.y < b.y; });
162}

References a, and b.

Referenced by pappso::FilterCeilingAmplitudePercentage::filter(), pappso::FilterFloorAmplitudePercentage::filter(), pappso::FilterGreatestYperWindow::filter(), pappso::LinearRegression::getNrmsd(), and pappso::FilterMorphoMin::getWindowValue().

◆ minYDataPoint() [2/2]

PMSPP_LIB_DECL std::vector< DataPoint >::iterator pappso::minYDataPoint ( std::vector< DataPoint >::iterator begin,
std::vector< DataPoint >::iterator end )

find the element with the smallest Y value (intensity)

Definition at line 166 of file trace.cpp.

167{
168 return std::min_element(
169 begin, end, [](const DataPoint &a, const DataPoint &b) { return a.y < b.y; });
170}

References a, and b.

◆ moveLowerYLeftDataPoint()

PMSPP_LIB_DECL std::vector< DataPoint >::const_iterator pappso::moveLowerYLeftDataPoint ( const Trace & trace,
std::vector< DataPoint >::const_iterator begin )

Move left to the lower value.

Definition at line 211 of file trace.cpp.

212{
213 if(begin == trace.begin())
214 return begin;
215 auto it = begin - 1;
216 auto result = begin;
217
218 // As long as prev datapoint has y value less or equal to next,
219 // move along up the container. That is, continue moving if
220 // direction is downhill to the beginning of the container (its front).
221 while((it != trace.begin()) && (it->y <= result->y))
222 {
223 it--;
224 result--;
225 }
226 return result;
227}

Referenced by pappso::TraceDetectionZivy::detect().

◆ moveLowerYRigthDataPoint()

PMSPP_LIB_DECL std::vector< DataPoint >::const_iterator pappso::moveLowerYRigthDataPoint ( const Trace & trace,
std::vector< DataPoint >::const_iterator begin )

Move right to the lower value.

Definition at line 194 of file trace.cpp.

195{
196 if(begin == trace.end())
197 return begin;
198 auto it = begin + 1;
199 auto result = begin;
200 // Move along as long as next point's y value is less
201 // or equal to prev point's y value (FR, check).
202 while((it != trace.end()) && (it->y <= result->y))
203 {
204 it++;
205 result++;
206 }
207 return result;
208}

Referenced by pappso::TraceDetectionZivy::detect().

◆ MPROTIUM()

◆ MPROTON()

◆ ONEMILLION()

const pappso_double pappso::ONEMILLION ( 1000000 )

◆ operator&()

Definition at line 263 of file mzintegrationparams.h.

264{
265 return static_cast<MzIntegrationParams::InitializationResult>(static_cast<uint32_t>(a) &
266 static_cast<uint32_t>(b));
267}

References a, and b.

◆ operator<() [1/2]

bool pappso::operator< ( Aa const & l,
Aa const & r )

Definition at line 291 of file aa.cpp.

293{
294 return l.isLesser(r);
295}

References pappso::Aa::isLesser().

◆ operator<() [2/2]

bool pappso::operator< ( const pappso::Peptide & l,
const pappso::Peptide & r )

Definition at line 44 of file peptide.cpp.

46{
47 return (l.m_aaVec < r.m_aaVec);
48}
std::vector< Aa > m_aaVec
Definition peptide.h:254

◆ operator<<() [1/3]

PMSPP_LIB_DECL QDataStream & pappso::operator<< ( QDataStream & out,
const DataPoint & dataPoint )

Definition at line 151 of file datapoint.cpp.

153{
154 out << dataPoint.x;
155 out << dataPoint.y;
156
157 return out;
158}

References pappso::DataPoint::x, and pappso::DataPoint::y.

◆ operator<<() [2/3]

PMSPP_LIB_DECL QDataStream & pappso::operator<< ( QDataStream & out,
const Trace & trace )

Definition at line 34 of file trace.cpp.

36{
37 for(auto &dataPoint : trace)
38 {
39 out << dataPoint.x;
40 out << dataPoint.y;
41 out << "\n";
42 }
43 out << "\n";
44
45 return out;
46}

◆ operator<<() [3/3]

PMSPP_LIB_DECL QDataStream & pappso::operator<< ( QDataStream & outstream,
const MassSpectrum & massSpectrum )

Definition at line 345 of file massspectrum.cpp.

347{
348 quint32 vector_size = massSpectrum.size();
349 outstream << vector_size;
350 for(auto &&peak : massSpectrum)
351 {
352 outstream << peak;
353 }
354
355 return outstream;
356}

◆ operator==() [1/2]

bool pappso::operator== ( Aa const & l,
Aa const & r )

Definition at line 286 of file aa.cpp.

287{
288 return l.isAaEqual(r);
289}

References pappso::Aa::isAaEqual().

◆ operator==() [2/2]

bool pappso::operator== ( const pappso::Peptide & l,
const pappso::Peptide & r )

Definition at line 51 of file peptide.cpp.

52{
54 return false;
56 return false;
59 return false;
62 return false;
63
64 return (l.m_aaVec == r.m_aaVec);
65}
AaModificationP getCterModification() const
Definition peptide.cpp:627
AaModificationP getCleavageCterModification() const
Definition peptide.cpp:590
AaModificationP getNterModification() const
Definition peptide.cpp:633
AaModificationP getCleavageNterModification() const
Definition peptide.cpp:585

◆ operator>>() [1/4]

PMSPP_LIB_DECL QDataStream & pappso::operator>> ( QDataStream & in,
DataPoint & dataPoint )

Definition at line 162 of file datapoint.cpp.

163{
164
165 if(in.atEnd())
166 {
167 throw PappsoException(
168 QString("error in QDataStream unserialize operator>> of massSpectrum "
169 "dataPoint:\nread datastream failed status=%1")
170 .arg(in.status()));
171 }
172 in >> dataPoint.x;
173 in >> dataPoint.y;
174
175 return in;
176}

References pappso::DataPoint::x, and pappso::DataPoint::y.

◆ operator>>() [2/4]

PMSPP_LIB_DECL QDataStream & pappso::operator>> ( QDataStream & instream,
MassSpectrum & massSpectrum )

Definition at line 360 of file massspectrum.cpp.

361{
362
363 quint32 vector_size;
364 DataPoint peak;
365
366 if(!instream.atEnd())
367 {
368 instream >> vector_size;
369 qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__
370 << " vector_size=" << vector_size;
371
372 for(quint32 i = 0; i < vector_size; i++)
373 {
374
375 if(instream.status() != QDataStream::Ok)
376 {
377 throw PappsoException(
378 QString("error in QDataStream unserialize operator>> of "
379 "massSpectrum :\nread datastream failed status=%1 "
380 "massSpectrum "
381 "i=%2 on size=%3")
382 .arg(instream.status())
383 .arg(i)
384 .arg(vector_size));
385 }
386 instream >> peak;
387 massSpectrum.push_back(peak);
388 }
389 if(instream.status() != QDataStream::Ok)
390 {
391 throw PappsoException(
392 QString(
393 "error in QDataStream unserialize operator>> of massSpectrum "
394 ":\nread datastream failed status=%1")
395 .arg(instream.status()));
396 }
397 }
398
399 return instream;
400}

◆ operator>>() [3/4]

QDataStream & pappso::operator>> ( QDataStream & instream,
MsRunSlice & slice )

Definition at line 158 of file msrunslice.cpp.

159{
160
161 quint32 vector_size = 0;
162 quint32 slice_number = 0;
163 quint32 spectrum_position = 0;
164 DataPoint peak;
165
166 if(!instream.atEnd())
167 {
168 instream >> slice_number;
169 instream >> vector_size;
170 qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__
171 << " vector_size=" << vector_size;
172 slice.setSize(vector_size);
173
174 slice.setSliceNumber(slice_number);
175 while(!instream.atEnd())
176 {
177 instream >> spectrum_position;
178 MassSpectrum spectrum;
179 try
180 {
181 instream >> spectrum;
182 }
183 catch(PappsoException &error)
184 {
185 throw PappsoException(
186 QString("error in QDataStream unserialize operator>> of "
187 "MsRunSlice %2 on %3:\n%1")
188 .arg(error.qwhat())
189 .arg(spectrum_position)
190 .arg(vector_size));
191 }
192 slice.setSpectrum(spectrum_position, spectrum);
193
194 if(instream.status() != QDataStream::Ok)
195 {
196 throw PappsoException(
197 QString("error in QDataStream unserialize operator>> of "
198 "MsRunSlice :\nread datastream failed status=%1")
199 .arg(instream.status()));
200 }
201 }
202 }
203
204 if(slice.size() != vector_size)
205 {
206 throw PappsoException(
207 QString("error in QDataStream unserialize operator>> of MsRunSlice "
208 "slice.size() != vector_size :\n %1 %2:")
209 .arg(slice.size())
210 .arg(vector_size));
211 }
212
213 return instream;
214}
Class to represent a mass spectrum.
void setSpectrum(std::size_t i, const MassSpectrum &spectrum)
set the mass spectrum for a given index (retention time)
void setSliceNumber(unsigned int slice_number)
void setSize(std::size_t size)
set number of spectrum (mz/intensity) stored in this slice
std::size_t size() const

References pappso::PappsoException::qwhat(), pappso::MsRunSlice::setSize(), pappso::MsRunSlice::setSliceNumber(), pappso::MsRunSlice::setSpectrum(), and pappso::MsRunSlice::size().

◆ operator>>() [4/4]

PMSPP_LIB_DECL QDataStream & pappso::operator>> ( QDataStream & out,
Trace & trace )

Definition at line 50 of file trace.cpp.

51{
52 if(in.atEnd())
53 {
54 throw PappsoException(QString("error in QDataStream unserialize operator>> of trace:\n"
55 "read datastream failed status=%1")
56 .arg(in.status()));
57 }
58
59 for(auto &dataPoint : trace)
60 {
61 in >> dataPoint.x;
62 in >> dataPoint.y;
63 }
64
65 return in;
66}

◆ operator|()

Definition at line 256 of file mzintegrationparams.h.

257{
258 return static_cast<MzIntegrationParams::InitializationResult>(static_cast<uint32_t>(a) |
259 static_cast<uint32_t>(b));
260}

References a, and b.

◆ operator|=()

Definition at line 270 of file mzintegrationparams.h.

272{
273 a = a | b;
274 return a;
275}

References a, and b.

◆ peptideIonIsNter()

PMSPP_LIB_DECL bool pappso::peptideIonIsNter ( Enums::PeptideIon ion_type)

tells if an ion is Nter

Parameters
ion_typethe ion to test

Definition at line 85 of file peptide.cpp.

86{
87 if((std::int8_t)ion_type < (std::int8_t)8)
88 {
89 return true;
90 }
91 return false;
92}

Referenced by pappso::PsmFeatures::findComplementIonPairs(), getPeptideIonDirection(), pappso::XtandemHyperscoreBis::getXtandemPredictedIonIntensityFactor(), peptideIonTypeIsComplement(), pappso::PeptideRawFragmentMasses::pushBackIonMasses(), and pappso::PeptideRawFragmentMasses::pushBackIonMz().

◆ peptideIonTypeIsComplement()

PMSPP_LIB_DECL bool pappso::peptideIonTypeIsComplement ( Enums::PeptideIon ion_type_ref,
Enums::PeptideIon ion_type )

tells if an ion type is the complement ion of the other

Parameters
ion_type_refthe ion type reference
ion_typethe ion to test

Definition at line 68 of file peptide.cpp.

69{
70 if(peptideIonIsNter(ion_type))
71 std::swap(ion_type_ref, ion_type);
72 if(peptideIonIsNter(ion_type))
73 return false;
74 if((ion_type_ref == Enums::PeptideIon::b) && (ion_type == Enums::PeptideIon::y))
75 return true;
76 if((ion_type_ref == Enums::PeptideIon::ao) && (ion_type == Enums::PeptideIon::yo))
77 return true;
78 if((ion_type_ref == Enums::PeptideIon::bstar) && (ion_type == Enums::PeptideIon::ystar))
79 return true;
80
81 return false;
82}
@ y
Cter amino ions.
Definition types.h:295
@ ystar
Cter amino ions + NH3 loss.
Definition types.h:296
@ yo
Cter amino ions + H2O loss.
Definition types.h:297
@ bstar
Nter acylium ions + NH3 loss.
Definition types.h:288
@ b
Nter acylium ions.
Definition types.h:287
@ ao
Nter aldimine ions + H2O loss.
Definition types.h:292

References pappso::Enums::ao, pappso::Enums::b, pappso::Enums::bstar, peptideIonIsNter(), pappso::Enums::y, pappso::Enums::yo, and pappso::Enums::ystar.

Referenced by findComplementIonType().

◆ quantileYTrace()

PMSPP_LIB_DECL double pappso::quantileYTrace ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end,
double quantile )

calculate the quantile of y value of a trace

Parameters
beginbegin iterator
endend iterator
quantilethe quantile value between 0 and 1
Returns
Y value at the quantile

Definition at line 249 of file trace.cpp.

252{
253 std::size_t nb_element = distance(begin, end);
254 if(nb_element == 0)
255 throw ExceptionOutOfRange(QObject::tr("unable to compute quantile on a trace of size 0"));
256
257
258 std::size_t ieth_element = std::round((double)nb_element * quantile);
259 if(ieth_element > nb_element)
260 throw ExceptionOutOfRange(QObject::tr("quantile value must be lower than 1"));
261
262
263 std::vector<DataPoint> data(begin, end);
264 std::nth_element(data.begin(),
265 data.begin() + ieth_element,
266 data.end(),
267 [](const DataPoint &a, const DataPoint &b) { return a.y < b.y; });
268 return data[ieth_element].y;
269}

References a, and b.

Referenced by pappso::FilterQuantileBasedRemoveY::filter().

◆ registerEnumsToQJSEngine()

PMSPP_LIB_DECL void pappso::registerEnumsToQJSEngine ( QJSEngine * engine)

Definition at line 32 of file pappsojsqml.cpp.

33{
34 qDebug() << "Now registering the Enums:: enums for pappsomspp";
35
36 // Get the meta-object for the namespace (generated by Q_NAMESPACE
37 // as stated right below the Enums namespace at types.h).
38
39 const QMetaObject *metaObject = &Enums::staticMetaObject;
40 if(metaObject == nullptr)
41 qFatal() << "Programming error. Failed to obtain &Enums::staticMetaObject";
42
43 qDebug() << "Found namespace Enums with full name:" << metaObject->className();
44
45 QJSValue libraryJsRootProperty;
46
47 if(engine->globalObject().hasProperty("pappsomspp"))
48 {
49 // qDebug() << "Global object property 'pappsomspp' already exists.";
50 libraryJsRootProperty = engine->globalObject().property("pappsomspp");
51 }
52 else
53 {
54 // qDebug() << "Global object property 'pappsomspp' not found.";
55 // Create a JS object for pappsomspp
56 libraryJsRootProperty = engine->newObject();
57 }
58
59 // Create a nested JS object for Enums
60 QJSValue all_js_enums = engine->newObject();
61
62 // Loop through all enums and populate jsEnums
63 for(int i = 0; i < metaObject->enumeratorCount(); ++i)
64 {
65 QMetaEnum iter_meta_enum = metaObject->enumerator(i);
66
67 // qDebug() << "Now iterating in enum:" << iter_meta_enum.enumName();
68
69 QJSValue single_js_enum = engine->newObject();
70
71 for(int j = 0; j < iter_meta_enum.keyCount(); ++j)
72 {
73 // qDebug() << "Now iterating in new key:" << iter_meta_enum.key(j)
74 // << "with value:" << iter_meta_enum.value(j);
75
76 // key() would be "LEFT", with value() = 1
77 single_js_enum.setProperty(iter_meta_enum.key(j), iter_meta_enum.value(j));
78 }
79
80 // name would be CapType
81 all_js_enums.setProperty(iter_meta_enum.enumName(), single_js_enum);
82 }
83
84 // Attach Enums to pappsomspp
85 libraryJsRootProperty.setProperty("Enums", all_js_enums);
86
87 engine->globalObject().setProperty("pappsomspp", libraryJsRootProperty);
88
89#if 0
90
91 qDebug()
92 << "Now checking for correct exposition of Enums::enum::<key/value> pairs.";
93
94 QJSValue jsEnums =
95 engine->globalObject().property("pappsomspp").property("Enums");
96
97 if(jsEnums.isUndefined())
98 {
99 qDebug() << "Error: pappsomspp.Enums not found!";
100 return;
101 }
102 else
103 {
104 qDebug() << "pappsomspp.Enums JS object exists";
105
106 // Get all enum names (properties of the Enums object)
107 QJSValue propNames =
108 engine->evaluate("Object.getOwnPropertyNames(pappsomspp.Enums)");
109
110 if(propNames.isError())
111 {
112 qDebug() << "JS Error:" << propNames.toString();
113 return;
114 }
115
116 // Iterate through each enum
117 QStringList enumNames = propNames.toVariant().toStringList();
118 for(const QString &enumName : enumNames)
119 {
120 QJSValue jsEnum = jsEnums.property(enumName);
121
122 if(!jsEnum.isObject())
123 {
124 qDebug() << "Skipping non-object property:" << enumName;
125 continue;
126 }
127
128 qDebug() << "\nChecking enum:" << enumName;
129
130 // Get all keys of the iterated enum
131 QJSValue enumKeys = engine->evaluate(
132 QString("Object.getOwnPropertyNames(libXpertMass.Enums.%1)")
133 .arg(enumName));
134
135 if(enumKeys.isError())
136 {
137 qDebug() << " JS Error:" << enumKeys.toString();
138 continue;
139 }
140
141 // Print key-value pairs for the iterated enum
142 QStringList keys = enumKeys.toVariant().toStringList();
143 for(const QString &key : keys)
144 {
145 QJSValue value = jsEnum.property(key);
146 qDebug() << " " << key << "=" << value.toInt();
147 qDebug().noquote() << "\nChecked enum: " << enumName << "member ("
148 << key << " / " << value.toInt() << ")";
149 }
150 }
151 }
152#endif
153}

◆ registerJsConstructorForEachClassInRegistrarMap()

PMSPP_LIB_DECL void pappso::registerJsConstructorForEachClassInRegistrarMap ( QJSEngine * engine)

Definition at line 22 of file jsclassregistrar.cpp.

23{
24 qDebug() << "Registering the constructor of the classes marked for JS.";
25
26 qsizetype count = getNameSpaceClassNameJsConstructorRegistrarMap().size();
27 qDebug() << "Size of the map: count" << count;
28
29 for(const auto &entry : getNameSpaceClassNameJsConstructorRegistrarMap())
30 entry.second(engine);
31}
std::unordered_map< NamespaceClassnamePairAsKey, RegisterFunc, NamespaceClassnameAsKeyHash, AreNamespaceClassnamePairsEqual > & getNameSpaceClassNameJsConstructorRegistrarMap()

References getNameSpaceClassNameJsConstructorRegistrarMap().

◆ registerJsConstructorForNameSpaceClassNameInRegistrarMap()

PMSPP_LIB_DECL void pappso::registerJsConstructorForNameSpaceClassNameInRegistrarMap ( const QString & name_space,
const QString & class_name,
QJSEngine * engine )

Definition at line 35 of file jsclassregistrar.cpp.

38{
39 // Remember, the registrar map is actually a map of map:
40
41 // Key type: pair of namespace and class name
42 // using NamespaceClassnamePairAsKey = std::pair<QString, QString>;
43 // using RegisterFunc = std::function<void(QJSEngine *)>;
44 //
45 // std::unordered_map<NamespaceClassnamePairAsKey,
46 // RegisterFunc,
47 // NsClassKeyHash,
48 // AreNamespaceClassnamePairAsKeyEqual>
49
50 // So, first look for a pair<NamespaceClassnamePairAsKey, RegisterFunc>
51 // having key = {name_sape, class_name}, that is, a std::pair<QString,
52 // QString>. Once we get that map item, run the second member of the
53 // outer map item which actually runs the functor.
54 auto it = getNameSpaceClassNameJsConstructorRegistrarMap().find({name_space, class_name});
56 it->second(engine);
57 else
58 qWarning().noquote() << "No JS constructor registered for namespace" << name_space
59 << "and class name" << class_name;
60}

References getNameSpaceClassNameJsConstructorRegistrarMap().

◆ registerQmlTypes()

PMSPP_LIB_DECL void pappso::registerQmlTypes ( const char * uri,
int versionMajor,
int versionMinor )

Definition at line 8 of file pappsojsqml.cpp.

9{
10 Q_UNUSED(uri)
11 Q_UNUSED(versionMajor)
12 Q_UNUSED(versionMinor)
13
14 // Register the namespace meta object
15#if 0
16 // At the moment no need to register namespace pappso as metaobject.
17 qmlRegisterUncreatableMetaObject(staticMetaObject,
18 uri,
19 versionMajor,
20 versionMinor,
21 "Enums",
22 "Cannot create PappsoMS namespace");
23#endif
24 // Register other types here too
25}

◆ sumYTrace()

PMSPP_LIB_DECL double pappso::sumYTrace ( std::vector< DataPoint >::const_iterator begin,
std::vector< DataPoint >::const_iterator end,
double init )

calculate the sum of y value of a trace

Definition at line 231 of file trace.cpp.

234{
235 return std::accumulate(begin, end, init, [](double a, const DataPoint &b) { return a + b.y; });
236}

References a, and b.

Referenced by pappso::LinearRegression::LinearRegression(), pappso::MsRunXicExtractor::extractOneXicCoord(), pappso::FilterMorphoSum::getWindowValue(), meanYTrace(), and pappso::Trace::sumY().

Variable Documentation

◆ binningTypeMap

std::map< MzIntegrationParams::BinningType, QString > pappso::binningTypeMap
Initial value:

Map relating the BinningType to a textual representation.

Definition at line 67 of file mzintegrationparams.cpp.

Referenced by getBinningTypeFromString(), pappso::MzIntegrationParams::toString(), and pappso::MzIntegrationParams::toString().

◆ CHECKED_LINES_COUNT

const std::size_t pappso::CHECKED_LINES_COUNT = 10
static

Definition at line 27 of file bafasciifilereader.cpp.

Referenced by pappso::BafAsciiFileReader::initialize().

◆ combinations_cache

uint64_t pappso::combinations_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 44 of file peptidenaturalisotope.cpp.

44{0};

Referenced by Combinations().

◆ dataKindMap

◆ MAX_MS_LEVELS

◆ MsRunReader

class PMSPP_LIB_DECL pappso::MsRunReader

Definition at line 56 of file msrunreader.h.

◆ precisionUnitMap

◆ qtMouseButtonMap

std::map< Qt::MouseButton, QString > pappso::qtMouseButtonMap
Initial value:
{{Qt::NoButton, "NoButton"},
{Qt::LeftButton, "LeftButton"},
{Qt::RightButton, "RightButton"},
{Qt::MiddleButton, "MiddleButton"}}

Definition at line 13 of file baseplotcontext.cpp.

13 {{Qt::NoButton, "NoButton"},
14 {Qt::LeftButton, "LeftButton"},
15 {Qt::RightButton, "RightButton"},
16 {Qt::MiddleButton, "MiddleButton"}};

◆ qtMouseButtonsMap

std::map< Qt::MouseButtons, QString > pappso::qtMouseButtonsMap
Initial value:
{
{Qt::NoButton, "NoButton"},
{Qt::AllButtons, "AllButtons"},
{Qt::LeftButton, "LeftButton"},
{Qt::RightButton, "RightButton"},
{Qt::MiddleButton, "MiddleButton"},
{Qt::LeftButton | Qt::RightButton, "LeftRightButtons"},
{Qt::LeftButton | Qt::MiddleButton, "LeftMiddleButtons"},
{Qt::RightButton | Qt::MiddleButton, "RightMiddleButtons"},
}

Definition at line 19 of file baseplotcontext.cpp.

19 {
20 {Qt::NoButton, "NoButton"},
21 {Qt::AllButtons, "AllButtons"},
22 {Qt::LeftButton, "LeftButton"},
23 {Qt::RightButton, "RightButton"},
24 {Qt::MiddleButton, "MiddleButton"},
25 {Qt::LeftButton | Qt::RightButton, "LeftRightButtons"},
26 {Qt::LeftButton | Qt::MiddleButton, "LeftMiddleButtons"},
27 {Qt::RightButton | Qt::MiddleButton, "RightMiddleButtons"},
28};

Referenced by pappso::BasePlotContext::toString().

◆ ratioC13_cache

pappso_double pappso::ratioC13_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 85 of file peptidenaturalisotope.cpp.

85{0};

Referenced by isotopem_ratio_cache().

◆ ratioH2_cache

pappso_double pappso::ratioH2_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 92 of file peptidenaturalisotope.cpp.

92{0};

Referenced by isotopem_ratio_cache().

◆ ratioN15_cache

pappso_double pappso::ratioN15_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 86 of file peptidenaturalisotope.cpp.

86{0};

Referenced by isotopem_ratio_cache().

◆ ratioO17_cache

pappso_double pappso::ratioO17_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 90 of file peptidenaturalisotope.cpp.

90{0};

Referenced by isotopem_ratio_cache().

◆ ratioO18_cache

pappso_double pappso::ratioO18_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 91 of file peptidenaturalisotope.cpp.

91{0};

Referenced by isotopem_ratio_cache().

◆ ratioS33_cache

pappso_double pappso::ratioS33_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 89 of file peptidenaturalisotope.cpp.

89{0};

Referenced by isotopem_ratio_cache().

◆ ratioS34_cache

pappso_double pappso::ratioS34_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 88 of file peptidenaturalisotope.cpp.

88{0};

Referenced by isotopem_ratio_cache().

◆ ratioS36_cache

pappso_double pappso::ratioS36_cache[CACHE_ARRAY_SIZE][CACHE_ARRAY_SIZE] = {0}

Definition at line 87 of file peptidenaturalisotope.cpp.

87{0};

Referenced by isotopem_ratio_cache().