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 | List of all members
LayerStatisticsDialog Class Reference

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

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

Inheritance diagram for LayerStatisticsDialog:
QDialog

Classes

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

Public Member Functions

 LayerStatisticsDialog (SpectrumWidget *parent)
 Constructor. More...
 

Protected Types

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

Protected Slots

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

Protected Member Functions

void computePeakStats_ ()
 Computes the statistics of a peak layer. More...
 
void computeFeatureStats_ ()
 Computes the statistics of a feature layer. More...
 
void computeConsensusStats_ ()
 Computes the statistics of a consensus feature layer. More...
 
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. More...
 
void bringInMetaStats_ (const MetaInfoInterface &meta_interface)
 Brings the meta values of one meta_interface (a peak or feature) into the statistics. More...
 
void computeMetaAverages_ ()
 Computes the averages of all meta values stored in meta_stats and meta_array_stats. More...
 

Protected Attributes

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

Private Member Functions

 LayerStatisticsDialog ()
 Not implemented. More...
 

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_ ( )
protectedslot

Shows the distribution accoring to the clicked button.

Member Data Documentation

DoubleReal avg_charge_
protected

Average charge value.

DoubleReal avg_elements_
protected

Average number of elements (for consensus features only)

DoubleReal avg_intensity_
protected

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.

DoubleReal max_elements_
protected

Maximum number of elements (for consensus features only)

DoubleReal max_intensity_
protected

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.

DoubleReal min_elements_
protected

Minimum number of elements (for consensus features only)

DoubleReal min_intensity_
protected

Minimum intensity value.

DoubleReal min_quality_
protected

Minimum quality value.


OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:35 using doxygen 1.8.5