OpenMS  2.6.0
LayerData.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // OpenMS -- Open-Source Mass Spectrometry
3 // --------------------------------------------------------------------------
4 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
5 // ETH Zurich, and Freie Universitaet Berlin 2002-2020.
6 //
7 // This software is released under a three-clause BSD license:
8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above copyright
11 // notice, this list of conditions and the following disclaimer in the
12 // documentation and/or other materials provided with the distribution.
13 // * Neither the name of any author or any participating institution
14 // may be used to endorse or promote products derived from this software
15 // without specific prior written permission.
16 // For a full list of authors, refer to the file AUTHORS.
17 // --------------------------------------------------------------------------
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
22 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 //
30 // --------------------------------------------------------------------------
31 // $Maintainer: Timo Sachsenberg $
32 // $Authors: Marc Sturm $
33 // --------------------------------------------------------------------------
34 
35 #pragma once
36 
37 // OpenMS_GUI config
38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
39 
52 
53 #include <boost/shared_ptr.hpp>
54 
55 #include <vector>
56 #include <bitset>
57 
58 namespace OpenMS
59 {
60 
89  class OPENMS_GUI_DLLAPI LayerData
90  {
91 public:
94  enum DataType
97  {
103  DT_UNKNOWN
104  };
105 
107  enum Flags
108  {
117  SIZE_OF_FLAGS
118  };
119 
121  std::bitset<SIZE_OF_FLAGS> flags;
122 
125  {
131  SIZE_OF_LABEL_TYPE
132  };
133 
135  static const std::string NamesOfLabelType[SIZE_OF_LABEL_TYPE];
136 
139 
141  typedef boost::shared_ptr<FeatureMap > FeatureMapSharedPtrType;
142 
145 
147  typedef boost::shared_ptr<ConsensusMap> ConsensusMapSharedPtrType;
148 
151 
153  typedef boost::shared_ptr<ExperimentType> ExperimentSharedPtrType;
154 
155  typedef boost::shared_ptr<const ExperimentType> ConstExperimentSharedPtrType;
156 
158  typedef boost::shared_ptr<OnDiscMSExperiment> ODExperimentSharedPtrType;
159 
161 
164  flags(),
165  visible(true),
166  flipped(false),
167  type(DT_UNKNOWN),
168  name_(),
169  filename(),
170  peptides(),
171  param(),
172  gradient(),
173  filters(),
174  annotations_1d(),
175  peak_colors_1d(),
176  modifiable(false),
177  modified(false),
178  label(L_NONE),
179  peptide_id_index(-1),
180  peptide_hit_index(-1),
181  features(new FeatureMapType()),
182  consensus(new ConsensusMapType()),
183  peaks(new ExperimentType()),
184  on_disc_peaks(new OnDiscMSExperiment()),
185  chromatograms(new ExperimentType()),
186  current_spectrum_(0),
187  cached_spectrum_()
188  {
189  annotations_1d.resize(1);
190  }
191 
193  LayerData(const LayerData& ld) = delete;
195  LayerData& operator=(const LayerData& ld) = delete;
196 
198  LayerData(LayerData&& ld) = default;
199 
201  LayerData& operator=(LayerData&& ld) = default;
202 
205  {
206  return features;
207  }
208 
211  {
212  return features;
213  }
214 
217  {
218  return consensus;
219  }
220 
223  {
224  return consensus;
225  }
226 
236  const ConstExperimentSharedPtrType getPeakData() const;
237 
248 
253  {
254  peaks = p;
255  updateCache_();
256  }
257 
260  {
261  on_disc_peaks = p;
262  }
263 
266  {
267  return on_disc_peaks;
268  }
269 
272  {
273  return chromatograms;
274  }
275 
278  {
279  return chromatograms;
280  }
281 
285  bool annotate(const std::vector<PeptideIdentification>& identifications,
286  const std::vector<ProteinIdentification>& protein_identifications);
287 
288 
291  {
292  return annotations_1d[current_spectrum_];
293  }
294 
297  {
298  return annotations_1d[current_spectrum_];
299  }
300 
302  const Annotations1DContainer & getAnnotations(Size spectrum_index) const
303  {
304  return annotations_1d[spectrum_index];
305  }
306 
309  {
310  return annotations_1d[spectrum_index];
311  }
312 
318  const ExperimentType::SpectrumType & getCurrentSpectrum() const;
319 
321  {
322  cached_spectrum_.sortByPosition();
323  }
324 
327  {
328  if (spectrum_idx == current_spectrum_) return cached_spectrum_;
329 
330  if ((*peaks)[spectrum_idx].size() > 0)
331  {
332  return (*peaks)[spectrum_idx];
333  }
334  else if (!on_disc_peaks->empty())
335  {
336  return on_disc_peaks->getSpectrum(spectrum_idx);
337  }
338  return (*peaks)[spectrum_idx];
339  }
340 
343  {
344  return current_spectrum_;
345  }
346 
349  {
350  current_spectrum_ = index;
351  updateCache_();
352  }
353 
355  bool isIonMobilityData() const
356  {
357  return this->getPeakData()->size() > 0 &&
358  this->getPeakData()->metaValueExists("is_ion_mobility") &&
359  this->getPeakData()->getMetaValue("is_ion_mobility").toBool();
360  }
361 
363  {
364  peaks->setMetaValue("is_ion_mobility", "true");
365  }
366 
368  bool isDIAData() const
369  {
370  return this->getPeakData()->size() > 0 &&
371  this->getPeakData()->metaValueExists("is_dia_data") &&
372  this->getPeakData()->getMetaValue("is_dia_data").toBool();
373  }
374 
377  {
378  peaks->setMetaValue("is_dia_data", "true");
379  }
380 
390  {
391  return this->getPeakData()->size() > 0 &&
392  this->getPeakData()->metaValueExists("is_chromatogram") &&
393  this->getPeakData()->getMetaValue("is_chromatogram").toBool();
394  }
395 
398  {
399  peaks->setMetaValue("is_chromatogram", "true");
400  }
401 
404  {
405  if (this->chromatogram_flag_set())
406  {
407  peaks->removeMetaValue("is_chromatogram");
408  }
409  }
410 
417  void updateRanges();
418 
420  float getMinIntensity() const;
421 
423  float getMaxIntensity() const;
424 
427  void synchronizePeakAnnotations();
428 
430  void removePeakAnnotationsFromPeptideHit(const std::vector<Annotation1DItem*>& selected_annotations);
431 
433  bool visible;
434 
436  bool flipped;
437 
440 
441  private:
444 
445  public:
446  const String& getName() const
447  {
448  return name_;
449  }
450  void setName(const String& new_name)
451  {
452  name_ = new_name;
453  }
454 
457 
459  std::vector<PeptideIdentification> peptides;
460 
463 
466 
469 
471  std::vector<Annotations1DContainer> annotations_1d;
472 
474  std::vector<QColor> peak_colors_1d;
475 
478 
480  bool modified;
481 
484 
488 
490  String getDecoratedName() const;
491 
492 private:
494  void updateCache_();
495 
497  void updatePeptideHitAnnotations_(PeptideHit& hit);
498 
501 
504 
507 
510 
513 
516 
519  };
520 
523  {
524  public:
531  LayerAnnotatorBase(const FileTypes::FileTypeList& supported_types, const String& file_dialog_text);
532 
537  bool annotate(LayerData& layer, LogWindow& log, const String& current_path) const;
538 
539  protected:
542  virtual bool annotateWorker_(LayerData& layer, const String& filename, LogWindow& log) const = 0;
543 
546  };
547 
551  : public LayerAnnotatorBase
552  {
553  public:
556  "Select peptide identification data")
557  {}
558 
559  protected:
562  virtual bool annotateWorker_(LayerData& layer, const String& filename, LogWindow& log) const;
563  };
564 
568  : public LayerAnnotatorBase
569  {
570  public:
572  : LayerAnnotatorBase(std::vector<FileTypes::Type>{ FileTypes::FEATUREXML },
573  "Select AccurateMassSearch's featureXML file")
574  {}
575 
576  protected:
579  virtual bool annotateWorker_(LayerData& layer, const String& filename, LogWindow& log) const;
580  };
581 
583  OPENMS_GUI_DLLAPI std::ostream& operator<<(std::ostream & os, const LayerData & rhs);
584 
585 } //namespace
586 
OpenMS::LayerAnnotatorAMS::LayerAnnotatorAMS
LayerAnnotatorAMS()
Definition: LayerData.h:571
OpenMS::MultiGradient
A gradient of multiple colors and arbitrary distances between colors.
Definition: MultiGradient.h:67
OpenMS::FileTypes::IDXML
OpenMS identification format (.idXML)
Definition: FileTypes.h:65
OpenMS::LayerData::peptides
std::vector< PeptideIdentification > peptides
peptide identifications
Definition: LayerData.h:459
OpenMS::LayerData::on_disc_peaks
ODExperimentSharedPtrType on_disc_peaks
on disc peak data
Definition: LayerData.h:509
OpenMS::LayerData::ExperimentSharedPtrType
boost::shared_ptr< ExperimentType > ExperimentSharedPtrType
SharedPtr on MSExperiment.
Definition: LayerData.h:153
OpenMS::LayerData::setName
void setName(const String &new_name)
Definition: LayerData.h:450
OpenMS::LayerData::getName
const String & getName() const
Definition: LayerData.h:446
OpenMS::LayerAnnotatorBase::annotateWorker_
virtual bool annotateWorker_(LayerData &layer, const String &filename, LogWindow &log) const =0
OpenMS::LogWindow
A log window (QTextEdit) with convenience functions.
Definition: LogWindow.h:53
OpenMS::LayerData::modified
bool modified
Flag that indicates that the layer data was modified since loading it.
Definition: LayerData.h:480
OpenMS::LayerData::L_META_LABEL
The 'label' meta information is used.
Definition: LayerData.h:128
OpenMS::LayerData::features
FeatureMapSharedPtrType features
feature data
Definition: LayerData.h:500
OpenMS::LayerData::FeatureMapSharedPtrType
boost::shared_ptr< FeatureMap > FeatureMapSharedPtrType
SharedPtr on feature map.
Definition: LayerData.h:141
OpenMS::LayerData::DT_CONSENSUS
Consensus feature data.
Definition: LayerData.h:101
OpenMS::LayerData::ConsensusMapSharedPtrType
boost::shared_ptr< ConsensusMap > ConsensusMapSharedPtrType
SharedPtr on consensus features.
Definition: LayerData.h:147
OpenMS::LayerData::P_PROJECTIONS
Peaks: Show projections.
Definition: LayerData.h:113
OpenMS::LayerAnnotatorPeptideID::annotateWorker_
virtual bool annotateWorker_(LayerData &layer, const String &filename, LogWindow &log) const
OpenMS::LayerAnnotatorAMS
Definition: LayerData.h:567
OpenMS::LayerAnnotatorBase::supported_types_
const FileTypes::FileTypeList supported_types_
Definition: LayerData.h:544
OpenMS::LayerData::sortCurrentSpectrumByPosition
void sortCurrentSpectrumByPosition()
Definition: LayerData.h:320
OpenMS::LayerData::getCurrentAnnotations
const Annotations1DContainer & getCurrentAnnotations() const
Returns a const reference to the annotations of the current spectrum (1D view)
Definition: LayerData.h:290
OpenMS::LayerAnnotatorPeptideID::LayerAnnotatorPeptideID
LayerAnnotatorPeptideID()
Definition: LayerData.h:554
OpenMS::LayerData::ConstExperimentSharedPtrType
boost::shared_ptr< const ExperimentType > ConstExperimentSharedPtrType
Definition: LayerData.h:155
OpenMS::LayerData::L_NONE
No label is displayed.
Definition: LayerData.h:126
OpenMS::LayerData::getOnDiscPeakData
const ODExperimentSharedPtrType & getOnDiscPeakData() const
Returns a mutable reference to the on-disc data.
Definition: LayerData.h:265
OpenMS::String
A more convenient string class.
Definition: String.h:59
ConsensusMap.h
OpenMS::MSExperiment
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
LogWindow.h
OpenMS::Size
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
OpenMS::LayerAnnotatorBase
A base class to annotate layers of specific types with (identification) data.
Definition: LayerData.h:522
OpenMS::LayerData::getFeatureMap
const FeatureMapSharedPtrType & getFeatureMap() const
Returns a const reference to the current feature data.
Definition: LayerData.h:204
OpenMS::LayerAnnotatorAMS::annotateWorker_
virtual bool annotateWorker_(LayerData &layer, const String &filename, LogWindow &log) const
OpenMS::LayerData::getAnnotations
Annotations1DContainer & getAnnotations(Size spectrum_index)
Returns a mutable reference to the annotations of the current spectrum (1D view)
Definition: LayerData.h:308
OpenMS::LayerData::filters
DataFilters filters
Filters to apply before painting.
Definition: LayerData.h:468
MultiGradient.h
OpenMS::LayerData::current_spectrum_
Size current_spectrum_
Index of the current spectrum.
Definition: LayerData.h:515
OpenMS::LayerAnnotatorBase::annotate
bool annotate(LayerData &layer, LogWindow &log, const String &current_path) const
OpenMS::LayerData::peak_colors_1d
std::vector< QColor > peak_colors_1d
Peak colors of the currently shown spectrum.
Definition: LayerData.h:474
OpenMS::LayerData::ConsensusMapType
ConsensusMap ConsensusMapType
consensus features
Definition: LayerData.h:144
OpenMS::FileTypes::MZIDENTML
mzIdentML (HUPO PSI AnalysisXML followup format) (.mzid)
Definition: FileTypes.h:76
OpenMS::LayerData::flipped
bool flipped
if this layer is flipped (1d mirror view)
Definition: LayerData.h:436
OpenMS::LayerData::getChromatogramData
const ExperimentSharedPtrType & getChromatogramData() const
Returns a mutable reference to the current chromatogram data.
Definition: LayerData.h:271
OpenMS::LayerData::Flags
Flags
Flags that determine which information is shown.
Definition: LayerData.h:107
OpenMS::LayerData::I_LABELS
Identifications: Show labels (not sequences)
Definition: LayerData.h:116
OpenMS::LayerData::setOnDiscPeakData
void setOnDiscPeakData(ODExperimentSharedPtrType p)
Set the current on-disc data.
Definition: LayerData.h:259
OpenMS::LayerData::LayerData
LayerData()
Default constructor.
Definition: LayerData.h:163
OpenMS::LayerData::DT_FEATURE
Feature data.
Definition: LayerData.h:100
OpenMS::LayerData::gradient
MultiGradient gradient
Gradient for 2D and 3D views.
Definition: LayerData.h:465
OpenMS::LayerData::L_INDEX
The element number is used.
Definition: LayerData.h:127
OpenMS::LayerData::set_chromatogram_flag
void set_chromatogram_flag()
set the chromatogram flag
Definition: LayerData.h:397
OpenMS::LayerAnnotatorBase::LayerAnnotatorBase
LayerAnnotatorBase(const FileTypes::FileTypeList &supported_types, const String &file_dialog_text)
C'tor with params.
OpenMS
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
OpenMS::LayerData::DT_PEAK
Spectrum profile or centroided data.
Definition: LayerData.h:98
OpenMS::LayerData::F_UNASSIGNED
Features: Unassigned peptide hits.
Definition: LayerData.h:111
OpenMS::FileTypes::FEATUREXML
OpenMS feature file (.featureXML)
Definition: FileTypes.h:64
OpenMS::LayerData::DT_IDENT
Peptide identification data.
Definition: LayerData.h:102
OpenMS::LayerData::filename
String filename
file name of the file the data comes from (if available)
Definition: LayerData.h:456
OpenMS::LayerData::remove_chromatogram_flag
void remove_chromatogram_flag()
remove the chromatogram flag
Definition: LayerData.h:403
OpenMS::LayerData
Class that stores the data for one layer.
Definition: LayerData.h:89
OpenMS::LayerData::getConsensusMap
ConsensusMapSharedPtrType & getConsensusMap()
Returns current consensus map (mutable)
Definition: LayerData.h:222
OpenMS::OnDiscMSExperiment
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:68
FeatureMap.h
ProteinIdentification.h
OpenMS::LayerData::getConsensusMap
const ConsensusMapSharedPtrType & getConsensusMap() const
Returns a const reference to the consensus feature data.
Definition: LayerData.h:216
OpenMS::LayerData::getChromatogramData
ExperimentSharedPtrType & getChromatogramData()
Returns a mutable reference to the current chromatogram data.
Definition: LayerData.h:277
DataFilters.h
OpenMS::LayerData::I_PEPTIDEMZ
Identifications: m/z source.
Definition: LayerData.h:115
OpenMS::Internal::SpectrumType
MSSpectrum SpectrumType
Definition: MzDataHandler.h:60
OpenMS::LayerData::getPeakDataMuteable
const ExperimentSharedPtrType & getPeakDataMuteable()
Returns a mutable reference to the current in-memory peak data.
Definition: LayerData.h:247
OpenMS::LayerData::FeatureMapType
FeatureMap FeatureMapType
Features.
Definition: LayerData.h:138
OpenMS::LayerData::peaks
ExperimentSharedPtrType peaks
peak data
Definition: LayerData.h:506
OpenMS::LayerData::getSpectrum
const ExperimentType::SpectrumType getSpectrum(Size spectrum_idx) const
Returns a const-copy of the required spectrum which is guaranteed to be populated with raw data.
Definition: LayerData.h:326
OpenMS::LayerData::C_ELEMENTS
Consensus features: Show elements.
Definition: LayerData.h:114
OpenMS::LayerData::cached_spectrum_
ExperimentType::SpectrumType cached_spectrum_
Current cached spectrum.
Definition: LayerData.h:518
OpenMS::LayerData::getCurrentSpectrumIndex
Size getCurrentSpectrumIndex() const
Get the index of the current spectrum (1D view)
Definition: LayerData.h:342
OpenMS::LayerData::visible
bool visible
if this layer is visible
Definition: LayerData.h:433
OpenMS::LayerData::chromatogram_flag_set
bool chromatogram_flag_set() const
Check whether the current layer is a chromatogram.
Definition: LayerData.h:389
OpenMS::operator<<
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
OpenMS::LayerData::modifiable
bool modifiable
Flag that indicates if the layer data can be modified (so far used for features only)
Definition: LayerData.h:477
OpenMS::ConsensusMap
A container for consensus elements.
Definition: ConsensusMap.h:80
OpenMS::LayerData::annotations_1d
std::vector< Annotations1DContainer > annotations_1d
Annotations of all spectra of the experiment (1D view)
Definition: LayerData.h:471
OpenMS::LayerData::name_
String name_
layer name
Definition: LayerData.h:443
OpenMS::LayerData::peptide_id_index
int peptide_id_index
Selected peptide id and hit index (-1 if none is selected)
Definition: LayerData.h:486
OpenMS::LayerData::L_ID
The best peptide hit of the first identification run is used.
Definition: LayerData.h:129
OpenMS::LayerData::ExperimentType
PeakMap ExperimentType
Main data type (experiment)
Definition: LayerData.h:150
MSExperiment.h
OpenMS::LayerData::param
Param param
Layer parameters.
Definition: LayerData.h:462
OpenMS::LayerData::F_HULLS
Features: Convex hulls of single mass traces.
Definition: LayerData.h:110
OpenMS::supported_types
const FileTypes::FileTypeList supported_types({ FileTypes::MZML, FileTypes::MZXML, FileTypes::MZDATA, FileTypes::SQMASS, FileTypes::FEATUREXML, FileTypes::CONSENSUSXML, FileTypes::IDXML, FileTypes::DTA, FileTypes::DTA2D, FileTypes::BZ2, FileTypes::GZ })
supported types which can be opened with File–>Open
OpenMS::FeatureMap
A container for features.
Definition: FeatureMap.h:97
OpenMS::DataFilters
DataFilter array providing some convenience functions.
Definition: DataFilters.h:50
OpenMS::LayerData::isIonMobilityData
bool isIonMobilityData() const
Check whether the current layer should be represented as ion mobility.
Definition: LayerData.h:355
OpenMS::LayerData::getFeatureMap
FeatureMapSharedPtrType & getFeatureMap()
Returns a const reference to the current feature data.
Definition: LayerData.h:210
OpenMS::LayerData::labelAsDIAData
void labelAsDIAData()
Label the current layer as DIA (SWATH-MS) data.
Definition: LayerData.h:376
OpenMS::LayerData::L_ID_ALL
All peptide hits of the first identification run are used.
Definition: LayerData.h:130
Annotations1DContainer.h
OpenMS::LayerData::flags
std::bitset< SIZE_OF_FLAGS > flags
Actual state of each flag.
Definition: LayerData.h:121
OpenMS::LayerData::chromatograms
ExperimentSharedPtrType chromatograms
chromatogram data
Definition: LayerData.h:512
OpenMS::LayerData::peptide_hit_index
int peptide_hit_index
Definition: LayerData.h:487
OpenMS::LayerAnnotatorPeptideID
Definition: LayerData.h:550
OpenMS::LayerData::labelAsIonMobilityData
void labelAsIonMobilityData() const
Definition: LayerData.h:362
OpenMS::LayerData::label
LabelType label
Label type.
Definition: LayerData.h:483
String.h
OpenMS::LayerData::DataType
DataType
Definition: LayerData.h:96
OpenMS::Param
Management and storage of parameters / INI files.
Definition: Param.h:73
OpenMS::LayerData::setCurrentSpectrumIndex
void setCurrentSpectrumIndex(Size index)
Set the index of the current spectrum (1D view)
Definition: LayerData.h:348
OpenMS::LayerData::setPeakData
void setPeakData(ExperimentSharedPtrType p)
Set the current in-memory peak data.
Definition: LayerData.h:252
OpenMS::FileTypes
Centralizes the file types recognized by FileHandler.
Definition: FileTypes.h:52
OpenMS::LayerData::consensus
ConsensusMapSharedPtrType consensus
consensus feature data
Definition: LayerData.h:503
OpenMS::LayerData::type
DataType type
data type (peak or feature data)
Definition: LayerData.h:439
PeptideIdentification.h
OpenMS::LayerData::LabelType
LabelType
Label used in visualization.
Definition: LayerData.h:124
OpenMS::MSSpectrum
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
OnDiscMSExperiment.h
OpenMS::LayerData::getAnnotations
const Annotations1DContainer & getAnnotations(Size spectrum_index) const
Returns a const reference to the annotations of the current spectrum (1D view)
Definition: LayerData.h:302
OpenMS::LayerData::F_HULL
Features: Overall convex hull.
Definition: LayerData.h:109
OpenMS::LayerData::ODExperimentSharedPtrType
boost::shared_ptr< OnDiscMSExperiment > ODExperimentSharedPtrType
SharedPtr on On-Disc MSExperiment.
Definition: LayerData.h:158
OpenMS::LayerAnnotatorBase::file_dialog_text_
const String file_dialog_text_
Definition: LayerData.h:545
StandardTypes.h
OpenMS::LayerData::getCurrentAnnotations
Annotations1DContainer & getCurrentAnnotations()
Returns a mutable reference to the annotations of the current spectrum (1D view)
Definition: LayerData.h:296
OpenMS::FileTypes::FileTypeList
holds a vector of known file types, e.g. as a way to specify supported input formats
Definition: FileTypes.h:133
OpenMS::LayerData::P_PRECURSORS
Peaks: Mark precursor peaks of MS/MS scans.
Definition: LayerData.h:112
OpenMS::Annotations1DContainer
Container for annotations to content of Spectrum1DCanvas.
Definition: Annotations1DContainer.h:53
OpenMS::LayerData::isDIAData
bool isDIAData() const
Check whether the current layer contains DIA (SWATH-MS) data.
Definition: LayerData.h:368
OpenMS::LayerData::DT_CHROMATOGRAM
Chromatogram data.
Definition: LayerData.h:99
OpenMS::PeptideHit
Representation of a peptide hit.
Definition: PeptideHit.h:55