OpenMS
RNPxlReport.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg $
6 // $Authors: Timo Sachsenberg $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
14 
19 
20 namespace OpenMS
21 {
22 
24 struct OPENMS_DLLAPI RNPxlReportRow
25 {
26  bool no_id;
27  double rt;
28  double original_mz;
36  double score;
38  double RNA_weight;
39  double xl_weight;
43  double m_H;
44  double m_2H;
45  double m_3H;
46  double m_4H;
47  int rank;
48  String getString(const String& separator) const;
49 
50 };
51 
53 struct OPENMS_DLLAPI RNPxlReportRowHeader
54 {
55  static String getString(const String& separator);
56 };
57 
59 struct OPENMS_DLLAPI RNPxlReport
60 {
61  static std::vector<RNPxlReportRow> annotate(const PeakMap& spectra, std::vector<PeptideIdentification>& peptide_ids, double marker_ions_tolerance);
62 };
63 
64 }
65 
66 
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:76
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
std::map< String, std::vector< std::pair< double, double > > > MarkerIonsType
name to mass-intensity pair
Definition: RNPxlMarkerIonExtractor.h:23
create header line
Definition: RNPxlReport.h:54
static String getString(const String &separator)
struct to hold a single report line
Definition: RNPxlReport.h:25
bool no_id
Definition: RNPxlReport.h:26
double m_H
Definition: RNPxlReport.h:43
double m_3H
Definition: RNPxlReport.h:45
double best_localization_score
Definition: RNPxlReport.h:32
double score
Definition: RNPxlReport.h:36
String localization_scores
Definition: RNPxlReport.h:33
double peptide_weight
Definition: RNPxlReport.h:37
double m_4H
Definition: RNPxlReport.h:46
int rank
Definition: RNPxlReport.h:47
double rel_prec_error
Definition: RNPxlReport.h:41
Int charge
Definition: RNPxlReport.h:35
String RNA
Definition: RNPxlReport.h:30
double RNA_weight
Definition: RNPxlReport.h:38
double xl_weight
Definition: RNPxlReport.h:39
RNPxlMarkerIonExtractor::MarkerIonsType marker_ions
Definition: RNPxlReport.h:42
String getString(const String &separator) const
double m_2H
Definition: RNPxlReport.h:44
String peptide
Definition: RNPxlReport.h:31
String best_localization
Definition: RNPxlReport.h:34
double original_mz
Definition: RNPxlReport.h:28
double abs_prec_error
Definition: RNPxlReport.h:40
double rt
Definition: RNPxlReport.h:27
String accessions
Definition: RNPxlReport.h:29
create report
Definition: RNPxlReport.h:60
static std::vector< RNPxlReportRow > annotate(const PeakMap &spectra, std::vector< PeptideIdentification > &peptide_ids, double marker_ions_tolerance)