Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Classes | Public Member Functions | Protected Types | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions

LayerStatisticsDialog Class Reference
[Dialogs]

Dialog showing statistics about the data of the current layer. More...

#include <OpenMS/VISUAL/DIALOGS/LayerStatisticsDialog.h>

Inheritance diagram for LayerStatisticsDialog:
QDialog LayerStatisticsDialogTemplate

List of all members.

Classes

struct  MetaStatsValue_
 Struct representing the statistics about one meta information. More...

Public Member Functions

 LayerStatisticsDialog (SpectrumWidget *parent)
 Constructor.

Protected Types

typedef
LayerData::ExperimentType::SpectrumType::ConstIterator 
PeakIterator_
 Iterates over peaks of a spectrum.
typedef
LayerData::FeatureMapType::ConstIterator 
FeatureIterator_
 Iterates over features of a feature map.
typedef
LayerData::ConsensusMapType::ConstIterator 
ConsensusIterator_
 Iterates over features of a feature map.
typedef std::map< UInt,
MetaStatsValue_ >::iterator 
MetaIterator_
 Iterates over the meta_stats map.

Protected Slots

void showDistribution_ ()
 Shows the distribution accoring to the clicked button.

Protected Member Functions

void computePeakStats_ ()
 Computes the statistics of a peak layer.
void computeFeatureStats_ ()
 Computes the statistics of a feature layer.
void computeConsensusStats_ ()
 Computes the statistics of a consensus feature layer.
template<typename MetaDataIterator >
void computeMetaDataArrayStats_ (MetaDataIterator begin, MetaDataIterator end)
 Computes the statistics of all meta data contained in the FloatDataArray or IntegerDataArray of an MSSpectrum.
void bringInMetaStats_ (const MetaInfoInterface &meta_interface)
 Brings the meta values of one meta_interface (a peak or feature) into the statistics.
void computeMetaAverages_ ()
 Computes the averages of all meta values stored in meta_stats and meta_array_stats.

Protected Attributes

std::map< UInt, MetaStatsValue_meta_stats_
 Map containing the statistics about all meta information of the peaks/features in the layer.
std::map< String, MetaStatsValue_meta_array_stats_
 Map containing the statistics about the FloatDataArrays of all spectra in this layer.
SpectrumCanvascanvas_
 The canvas of the layer.
LayerData layer_data_
 The LayerData object we compute statistics about.
DoubleReal min_intensity_
 Minimum intensity value.
DoubleReal max_intensity_
 Maximum intensity value.
DoubleReal avg_intensity_
 Average intensity value.
DoubleReal min_charge_
 Minimum charge value.
DoubleReal max_charge_
 Maximum charge value.
DoubleReal avg_charge_
 Average charge value.
DoubleReal min_quality_
 Minimum quality value.
DoubleReal max_quality_
 Maximum quality value.
DoubleReal avg_quality_
 Average quality value.
DoubleReal min_elements_
 Minimum number of elements (for consensus features only).
DoubleReal max_elements_
 Maximum number of elements (for consensus features only).
DoubleReal avg_elements_
 Average number of elements (for consensus features only).

Private Member Functions

 LayerStatisticsDialog ()
 Not implemented.

Detailed Description

Dialog showing statistics about the data of the current layer.


Member Typedef Documentation

Iterates over features of a feature map.

Iterates over features of a feature map.

typedef std::map<UInt, MetaStatsValue_>::iterator MetaIterator_ [protected]

Iterates over the meta_stats map.

Iterates over peaks of a spectrum.


Constructor & Destructor Documentation

Constructor.

LayerStatisticsDialog (  )  [private]

Not implemented.


Member Function Documentation

void bringInMetaStats_ ( const MetaInfoInterface meta_interface  )  [protected]

Brings the meta values of one meta_interface (a peak or feature) into the statistics.

void computeConsensusStats_ (  )  [protected]

Computes the statistics of a consensus feature layer.

void computeFeatureStats_ (  )  [protected]

Computes the statistics of a feature layer.

void computeMetaAverages_ (  )  [protected]

Computes the averages of all meta values stored in meta_stats and meta_array_stats.

void computeMetaDataArrayStats_ ( MetaDataIterator  begin,
MetaDataIterator  end 
) [protected]
void computePeakStats_ (  )  [protected]

Computes the statistics of a peak layer.

void showDistribution_ (  )  [protected, slot]

Shows the distribution accoring to the clicked button.


Member Data Documentation

DoubleReal avg_charge_ [protected]

Average charge value.

Average number of elements (for consensus features only).

Average intensity value.

DoubleReal avg_quality_ [protected]

Average quality value.

SpectrumCanvas* canvas_ [protected]

The canvas of the layer.

LayerData layer_data_ [protected]

The LayerData object we compute statistics about.

DoubleReal max_charge_ [protected]

Maximum charge value.

Maximum number of elements (for consensus features only).

Maximum intensity value.

DoubleReal max_quality_ [protected]

Maximum quality value.

std::map<String, MetaStatsValue_> meta_array_stats_ [protected]

Map containing the statistics about the FloatDataArrays of all spectra in this layer.

Referenced by LayerStatisticsDialog::computeMetaDataArrayStats_().

std::map<UInt, MetaStatsValue_> meta_stats_ [protected]

Map containing the statistics about all meta information of the peaks/features in the layer.

DoubleReal min_charge_ [protected]

Minimum charge value.

Minimum number of elements (for consensus features only).

Minimum intensity value.

DoubleReal min_quality_ [protected]

Minimum quality value.


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1