OpenMS
Loading...
Searching...
No Matches
OpenSwathInferenceConfig.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Justin Sing $
6// $Authors: Justin Sing $
7// --------------------------------------------------------------------------
8
9#pragma once
10
13#include <OpenMS/config.h>
14
15#include <vector>
16
17namespace OpenMS
18{
26 struct OPENMS_DLLAPI ErrorEstimationConfig
27 {
29 bool parametric = false;
31 bool pfdr = false;
33 std::vector<double> pi0_lambda {0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45};
35 std::string pi0_method = "bootstrap";
37 Int32 pi0_smooth_df = 3;
39 bool pi0_smooth_log_pi0 = false;
41 bool lfdr_truncate = true;
43 bool lfdr_monotone = true;
45 std::string lfdr_transformation = "probit";
47 double lfdr_adj = 1.5;
49 double lfdr_eps = 1e-8;
50 };
51
59 struct OPENMS_DLLAPI PeptidoformInferenceConfig
60 {
62 bool ipf_ms1_scoring = false;
64 bool ipf_ms2_scoring = false;
66 bool ipf_h0 = true;
68 bool ipf_grouped_fdr = false;
70 double ipf_max_peakgroup_pep = 0.7;
72 double ipf_max_precursor_pep = 0.7;
74 double ipf_max_precursor_peakgroup_pep = 0.4;
76 double ipf_max_transition_pep = 0.6;
78 bool propagate_signal_across_runs = false;
80 double ipf_min_alignment_mapping_confidence = 0.5;
82 double across_run_confidence_threshold = 0.5;
83 };
84
90 struct OPENMS_DLLAPI LevelContextInferenceConfig
91 {
93 InferenceLevel level = InferenceLevel::Peptide;
95 InferenceContext context = InferenceContext::RunSpecific;
98 };
99} // namespace OpenMS
int32_t Int32
Signed integer type (32bit)
Definition Types.h:26
ErrorEstimationConfig error
Error-estimation settings applied during inference.
Definition OpenSwathInferenceConfig.h:97
InferenceLevel
Inference level for OpenSWATH-derived confidence inference.
Definition OpenSwathInferenceData.h:30
InferenceContext
Context for peptide-, protein-, and gene-level inference.
Definition OpenSwathInferenceData.h:43
Configuration for OpenSwath analyte level inference global and local error estimation.
Definition OpenSwathInferenceConfig.h:27
Configuration for peptide-, protein-, and gene-level context inference.
Definition OpenSwathInferenceConfig.h:91
Configuration for peptidoform inference.
Definition OpenSwathInferenceConfig.h:60
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19