| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <quantificationmethod.h>
Private Attributes | |
| const QString | m_id | 
| Enums::XicExtractMethod | m_xicExtractMethod = Enums::XicExtractMethod::max | 
| pappso::PrecisionPtr | mp_xicExtractionLowerPrecisionPtr = nullptr | 
| pappso::PrecisionPtr | mp_xicExtractionUppersPrecisionPtr = nullptr | 
| double | m_xicExtractionRetentionTimeAroundTarget = 300 | 
| set the retention time range in seconds around the target rt   | |
| pappso::FilterSuiteStringSPtr | m_xicFilterSuite | 
| the xic filters   | |
| pappso::TraceDetectionInterfaceCstSPtr | mcsp_traceDetectionInterfaceCstSPtr | 
| the peak detection method for this quantification   | |
| bool | m_matchBetweenRun = true | 
| double | m_isotopeMinimumRatio = 0 | 
| the minimum percentage of theoretical intensity of the isotope pattern to compute   | |
Definition at line 51 of file quantificationmethod.h.
| pappso::masschroq::QuantificationMethod::QuantificationMethod | ( | const QString & | id | ) | 
Default constructor
Definition at line 39 of file quantificationmethod.cpp.
References pappso::PrecisionFactory::getPpmInstance(), m_id, m_isotopeMinimumRatio, mcsp_traceDetectionInterfaceCstSPtr, mp_xicExtractionLowerPrecisionPtr, mp_xicExtractionUppersPrecisionPtr, and setXicFilter().
| pappso::masschroq::QuantificationMethod::QuantificationMethod | ( | const QuantificationMethod & | other | ) | 
Definition at line 56 of file quantificationmethod.cpp.
References m_id, m_isotopeMinimumRatio, m_matchBetweenRun, m_xicExtractionRetentionTimeAroundTarget, m_xicExtractMethod, m_xicFilterSuite, mcsp_traceDetectionInterfaceCstSPtr, mp_xicExtractionLowerPrecisionPtr, and mp_xicExtractionUppersPrecisionPtr.
      
  | 
  virtual | 
| void pappso::masschroq::QuantificationMethod::addXicFilter | ( | const pappso::FilterNameInterfaceSPtr & | filter | ) | 
Definition at line 122 of file quantificationmethod.cpp.
References pappso::filter, and m_xicFilterSuite.
Referenced by setJsonObject().
| const FilterSuiteStringSPtr & pappso::masschroq::QuantificationMethod::getFilterSuiteStringSPtr | ( | ) | const | 
Definition at line 135 of file quantificationmethod.cpp.
References m_xicFilterSuite.
| const QString & pappso::masschroq::QuantificationMethod::getId | ( | ) | const | 
| double pappso::masschroq::QuantificationMethod::getIsotopeMinimumRatio | ( | ) | const | 
Definition at line 109 of file quantificationmethod.cpp.
References m_isotopeMinimumRatio.
Referenced by getProjectParameters(), and pappso::masschroq::PeptideMeasurementsBase::prepareMeasurementsForPeptide().
| QJsonObject pappso::masschroq::QuantificationMethod::getJsonObject | ( | ) | const | 
Definition at line 286 of file quantificationmethod.cpp.
References pappso::masschroq::Utils::enumToString(), pappso::TraceDetectionZivy::getDetectionThresholdOnMaxmin(), pappso::TraceDetectionZivy::getDetectionThresholdOnMinmax(), pappso::TraceDetectionZivy::getMaxMinHalfEdgeWindows(), pappso::TraceDetectionZivy::getMinMaxHalfEdgeWindows(), pappso::TraceDetectionZivy::getSmoothingHalfEdgeWindows(), getTraceDetectionInterfaceCstSPtr(), m_isotopeMinimumRatio, m_matchBetweenRun, m_xicExtractionRetentionTimeAroundTarget, m_xicExtractMethod, m_xicFilterSuite, mp_xicExtractionLowerPrecisionPtr, and mp_xicExtractionUppersPrecisionPtr.
| bool pappso::masschroq::QuantificationMethod::getMatchBetweenRun | ( | ) | const | 
Definition at line 94 of file quantificationmethod.cpp.
References m_matchBetweenRun.
Referenced by getProjectParameters(), and pappso::masschroq::MsRunGroup::quantify().
| ProjectParameters pappso::masschroq::QuantificationMethod::getProjectParameters | ( | ) | const | 
Definition at line 211 of file quantificationmethod.cpp.
References pappso::Enums::dalton, pappso::masschroq::Utils::enumToString(), pappso::TraceDetectionZivy::getDetectionThresholdOnMaxmin(), pappso::TraceDetectionZivy::getDetectionThresholdOnMinmax(), getIsotopeMinimumRatio(), getMatchBetweenRun(), pappso::TraceDetectionZivy::getMaxMinHalfEdgeWindows(), pappso::TraceDetectionZivy::getMinMaxHalfEdgeWindows(), pappso::TraceDetectionZivy::getSmoothingHalfEdgeWindows(), m_xicExtractMethod, m_xicFilterSuite, mcsp_traceDetectionInterfaceCstSPtr, mp_xicExtractionLowerPrecisionPtr, mp_xicExtractionUppersPrecisionPtr, pappso::ProjectParam::name, pappso::Enums::ppm, pappso::quantification, and pappso::ProjectParameters::setProjectParam().
| const TraceDetectionInterfaceCstSPtr & pappso::masschroq::QuantificationMethod::getTraceDetectionInterfaceCstSPtr | ( | ) | const | 
Definition at line 205 of file quantificationmethod.cpp.
References mcsp_traceDetectionInterfaceCstSPtr.
Referenced by pappso::masschroq::MbrPeptideMeasurements::detectQuantifyPeaks(), pappso::masschroq::PeptideMeasurements::detectQuantifyPeaks(), and getJsonObject().
| PrecisionPtr pappso::masschroq::QuantificationMethod::getXicExtractionLowerPrecisionPtr | ( | ) | const | 
Definition at line 445 of file quantificationmethod.cpp.
References mp_xicExtractionLowerPrecisionPtr.
| PrecisionPtr pappso::masschroq::QuantificationMethod::getXicExtractionMeanPrecisionPtr | ( | ) | const | 
Definition at line 142 of file quantificationmethod.cpp.
References pappso::PrecisionFactory::getDaltonInstance(), pappso::PrecisionFactory::getPpmInstance(), mp_xicExtractionLowerPrecisionPtr, mp_xicExtractionUppersPrecisionPtr, and pappso::Enums::ppm.
Referenced by pappso::masschroq::PeptideMeasurementsBase::generateMeasurementsForIsotopeList().
| const MzRange pappso::masschroq::QuantificationMethod::getXicExtractionMzRange | ( | double | mz | ) | const | 
Definition at line 198 of file quantificationmethod.cpp.
References mp_xicExtractionLowerPrecisionPtr, and mp_xicExtractionUppersPrecisionPtr.
Referenced by pappso::masschroq::PeptideMeasurementsBase::generateMeasurementsForIsotopeList(), and pappso::masschroq::PeptideMeasurementsBase::prepareMeasurementsForPeptide().
| double pappso::masschroq::QuantificationMethod::getXicExtractionRtRange | ( | ) | const | 
Definition at line 82 of file quantificationmethod.cpp.
References m_xicExtractionRetentionTimeAroundTarget.
Referenced by pappso::masschroq::MsRunPeptideList::quantify(), and pappso::masschroq::MsRunPeptideList::quantifyMatchBetweenRun().
| PrecisionPtr pappso::masschroq::QuantificationMethod::getXicExtractionUppersPrecisionPtr | ( | ) | const | 
Definition at line 451 of file quantificationmethod.cpp.
References mp_xicExtractionUppersPrecisionPtr.
| Enums::XicExtractMethod pappso::masschroq::QuantificationMethod::getXicExtractMethod | ( | ) | const | 
Definition at line 159 of file quantificationmethod.cpp.
References m_xicExtractMethod.
Referenced by pappso::masschroq::MsRunPeptideList::quantify(), and pappso::masschroq::MsRunPeptideList::quantifyMatchBetweenRun().
| const FilterNameInterfaceSPtr pappso::masschroq::QuantificationMethod::getXicFilter | ( | ) | const | 
Definition at line 192 of file quantificationmethod.cpp.
References m_xicFilterSuite.
Referenced by pappso::masschroq::MsRunPeptideList::quantify(), and pappso::masschroq::MsRunPeptideList::quantifyMatchBetweenRun().
| void pappso::masschroq::QuantificationMethod::setIsotopeMinimumRatio | ( | double | ratio | ) | 
Definition at line 100 of file quantificationmethod.cpp.
References m_isotopeMinimumRatio.
| void pappso::masschroq::QuantificationMethod::setJsonObject | ( | const QJsonObject & | json_object | ) | 
Definition at line 357 of file quantificationmethod.cpp.
References addXicFilter(), pappso::PrecisionFactory::getDaltonInstance(), pappso::PrecisionFactory::getPpmInstance(), m_isotopeMinimumRatio, m_matchBetweenRun, pappso::Enums::max, setTraceDetectionInterfaceCstSPtr(), setXicExtractionLowerPrecisionPtr(), setXicExtractionRtRange(), setXicExtractionUpperPrecisionPtr(), setXicExtractMethod(), and pappso::Enums::sum.
| void pappso::masschroq::QuantificationMethod::setMatchBetweenRun | ( | bool | is_match | ) | 
Definition at line 457 of file quantificationmethod.cpp.
References m_matchBetweenRun.
| void pappso::masschroq::QuantificationMethod::setTraceDetectionInterfaceCstSPtr | ( | const pappso::TraceDetectionInterfaceCstSPtr & | detection | ) | 
Definition at line 165 of file quantificationmethod.cpp.
References mcsp_traceDetectionInterfaceCstSPtr.
Referenced by setJsonObject().
| void pappso::masschroq::QuantificationMethod::setXicExtractionLowerPrecisionPtr | ( | pappso::PrecisionPtr | precision | ) | 
Definition at line 172 of file quantificationmethod.cpp.
References mp_xicExtractionLowerPrecisionPtr.
Referenced by setJsonObject().
| void pappso::masschroq::QuantificationMethod::setXicExtractionRtRange | ( | double | rt_range | ) | 
Definition at line 88 of file quantificationmethod.cpp.
References m_xicExtractionRetentionTimeAroundTarget.
Referenced by setJsonObject().
| void pappso::masschroq::QuantificationMethod::setXicExtractionUpperPrecisionPtr | ( | pappso::PrecisionPtr | precision | ) | 
Definition at line 179 of file quantificationmethod.cpp.
References mp_xicExtractionUppersPrecisionPtr.
Referenced by setJsonObject().
| void pappso::masschroq::QuantificationMethod::setXicExtractMethod | ( | Enums::XicExtractMethod | method | ) | 
Definition at line 186 of file quantificationmethod.cpp.
References m_xicExtractMethod.
Referenced by setJsonObject().
| void pappso::masschroq::QuantificationMethod::setXicFilter | ( | const pappso::FilterNameInterfaceSPtr & | filter | ) | 
Definition at line 115 of file quantificationmethod.cpp.
References pappso::filter, and m_xicFilterSuite.
Referenced by QuantificationMethod().
      
  | 
  private | 
Definition at line 114 of file quantificationmethod.h.
Referenced by QuantificationMethod(), QuantificationMethod(), and getId().
      
  | 
  private | 
the minimum percentage of theoretical intensity of the isotope pattern to compute
Definition at line 144 of file quantificationmethod.h.
Referenced by QuantificationMethod(), QuantificationMethod(), getIsotopeMinimumRatio(), getJsonObject(), setIsotopeMinimumRatio(), and setJsonObject().
      
  | 
  private | 
Definition at line 139 of file quantificationmethod.h.
Referenced by QuantificationMethod(), getJsonObject(), getMatchBetweenRun(), setJsonObject(), and setMatchBetweenRun().
      
  | 
  private | 
set the retention time range in seconds around the target rt
only the interesting part of the xic will be extracted, form the rt target
| range_in_seconds | range in seconds | 
Definition at line 129 of file quantificationmethod.h.
Referenced by QuantificationMethod(), getJsonObject(), getXicExtractionRtRange(), and setXicExtractionRtRange().
      
  | 
  private | 
Definition at line 115 of file quantificationmethod.h.
Referenced by QuantificationMethod(), getJsonObject(), getProjectParameters(), getXicExtractMethod(), and setXicExtractMethod().
      
  | 
  private | 
the xic filters
Definition at line 133 of file quantificationmethod.h.
Referenced by QuantificationMethod(), addXicFilter(), getFilterSuiteStringSPtr(), getJsonObject(), getProjectParameters(), getXicFilter(), and setXicFilter().
      
  | 
  private | 
the peak detection method for this quantification
Definition at line 137 of file quantificationmethod.h.
Referenced by QuantificationMethod(), QuantificationMethod(), getProjectParameters(), getTraceDetectionInterfaceCstSPtr(), and setTraceDetectionInterfaceCstSPtr().
      
  | 
  private | 
Definition at line 117 of file quantificationmethod.h.
Referenced by QuantificationMethod(), QuantificationMethod(), getJsonObject(), getProjectParameters(), getXicExtractionLowerPrecisionPtr(), getXicExtractionMeanPrecisionPtr(), getXicExtractionMzRange(), and setXicExtractionLowerPrecisionPtr().
      
  | 
  private | 
Definition at line 118 of file quantificationmethod.h.
Referenced by QuantificationMethod(), QuantificationMethod(), getJsonObject(), getProjectParameters(), getXicExtractionMeanPrecisionPtr(), getXicExtractionMzRange(), getXicExtractionUppersPrecisionPtr(), and setXicExtractionUpperPrecisionPtr().