Behavior of TOPPView in identification mode. More...
#include <OpenMS/VISUAL/TOPPViewIdentificationViewBehavior.h>
Public Slots | |
virtual void | showSpectrumAs1D (int spectrum_index, int peptide_id_index, int peptide_hit_index) |
Behavior for showSpectrumAs1D. More... | |
virtual void | showSpectrumAs1D (int index) |
Show spectrum without selecting an identification. More... | |
virtual void | activate1DSpectrum (int spectrum_index, int peptide_id_index, int peptide_hit_index) |
Behavior for activate1DSpectrum. More... | |
virtual void | activate1DSpectrum (int index) |
select spectrum without selecting an identification More... | |
virtual void | deactivate1DSpectrum (int index) |
Behavior for deactivate1DSpectrum. More... | |
virtual void | activateBehavior () |
Slot for behavior activation. More... | |
virtual void | deactivateBehavior () |
Slot for behavior deactivation. More... | |
void | setVisibleArea1D (double l, double h) |
Public Member Functions | |
TOPPViewIdentificationViewBehavior (TOPPViewBase *parent) | |
Construct the behaviour with its parent. More... | |
Private Types | |
Type definitions | |
typedef LayerData::FeatureMapType | FeatureMapType |
typedef LayerData::FeatureMapSharedPtrType | FeatureMapSharedPtrType |
typedef LayerData::ConsensusMapType | ConsensusMapType |
typedef LayerData::ConsensusMapSharedPtrType | ConsensusMapSharedPtrType |
typedef LayerData::ExperimentType | ExperimentType |
typedef LayerData::ExperimentSharedPtrType | ExperimentSharedPtrType |
typedef ExperimentType::SpectrumType | SpectrumType |
Peak spectrum type. More... | |
Private Member Functions | |
void | addPrecursorLabels1D_ (const std::vector< Precursor > &pcs) |
Adds labels for the provided precursors to the 1D spectrum. More... | |
void | removeTemporaryAnnotations_ (Size spectrum_index) |
Removes the precursor labels for from the specified 1D spectrum. More... | |
void | addTheoreticalSpectrumLayer_ (const PeptideHit &ph) |
Adds a theoretical spectrum as set from the preferences dialog for the peptide hit. More... | |
void | removeTheoreticalSpectrumLayer_ () |
removes all layer with theoretical spectrum generated in identification view More... | |
void | addPeakAnnotations_ (const std::vector< PeptideIdentification > &ph) |
Adds annotation (compound name, adducts, ppm error) to a peak in 1D spectra. More... | |
void | addFragmentAnnotations_ (const PeptideHit &ph) |
Adds fragment annotations to peaks in 1D spectra. More... | |
String | n_times (Size n, String input) |
Helper function for text formatting. More... | |
void | extractCoverageStrings (std::vector< PeptideHit::PeakAnnotation > frag_annotations, String &alpha_string, String &beta_string, Size alpha_size, Size beta_size) |
Helper function, that turns fragment annotations into coverage Strings for visuaization with the sequence. More... | |
String | collapseStringVector (std::vector< String > strings) |
Helper function, that collapses a vector of Strings into one String. More... | |
Private Attributes | |
TOPPViewBase * | tv_ |
std::vector< Annotation1DItem * > | temporary_annotations_ |
Behavior of TOPPView in identification mode.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Peak spectrum type.
TOPPViewIdentificationViewBehavior | ( | TOPPViewBase * | parent | ) |
Construct the behaviour with its parent.
|
virtualslot |
Behavior for activate1DSpectrum.
|
virtualslot |
select spectrum without selecting an identification
|
virtualslot |
Slot for behavior activation.
Referenced by TOPPViewBase::viewChanged().
|
private |
Adds fragment annotations to peaks in 1D spectra.
|
private |
Adds annotation (compound name, adducts, ppm error) to a peak in 1D spectra.
|
private |
Adds labels for the provided precursors to the 1D spectrum.
|
private |
Adds a theoretical spectrum as set from the preferences dialog for the peptide hit.
Helper function, that collapses a vector of Strings into one String.
|
virtualslot |
Behavior for deactivate1DSpectrum.
|
virtualslot |
Slot for behavior deactivation.
Referenced by TOPPViewBase::viewChanged().
|
private |
Helper function, that turns fragment annotations into coverage Strings for visuaization with the sequence.
|
private |
Removes the precursor labels for from the specified 1D spectrum.
|
private |
removes all layer with theoretical spectrum generated in identification view
|
virtualslot |
Behavior for showSpectrumAs1D.
Referenced by TOPPViewBase::showSpectrumAs1D().
|
virtualslot |
Show spectrum without selecting an identification.
|
private |
Used to check which annotation handles have been added automatically by the identification view. Ownership of the AnnotationItems has the Annotation1DContainer
|
private |
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:14 using doxygen 1.8.13 |