Dialog showing statistics about the data of the current layer. More...
#include <OpenMS/VISUAL/DIALOGS/LayerStatisticsDialog.h>
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. | |
| SpectrumCanvas * | canvas_ |
| 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. | |
Dialog showing statistics about the data of the current layer.
typedef LayerData::ConsensusMapType::ConstIterator ConsensusIterator_ [protected] |
Iterates over features of a feature map.
typedef LayerData::FeatureMapType::ConstIterator FeatureIterator_ [protected] |
Iterates over features of a feature map.
typedef std::map<UInt, MetaStatsValue_>::iterator MetaIterator_ [protected] |
Iterates over the meta_stats map.
typedef LayerData::ExperimentType::SpectrumType::ConstIterator PeakIterator_ [protected] |
Iterates over peaks of a spectrum.
| LayerStatisticsDialog | ( | SpectrumWidget * | parent | ) |
Constructor.
| LayerStatisticsDialog | ( | ) | [private] |
Not implemented.
| 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] |
Computes the statistics of all meta data contained in the FloatDataArray or IntegerDataArray of an MSSpectrum.
References LayerStatisticsDialog::MetaStatsValue_::avg, LayerStatisticsDialog::MetaStatsValue_::count, LayerStatisticsDialog::MetaStatsValue_::max, LayerStatisticsDialog::meta_array_stats_, and LayerStatisticsDialog::MetaStatsValue_::min.
| void computePeakStats_ | ( | ) | [protected] |
Computes the statistics of a peak layer.
| void showDistribution_ | ( | ) | [protected, slot] |
Shows the distribution accoring to the clicked button.
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.10.0 | Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1 |