OpenMS
2.7.0
|
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 (PlotWidget *parent) | |
Constructor. More... | |
~LayerStatisticsDialog () | |
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 according 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... | |
PlotCanvas * | canvas_ |
The canvas of the layer. More... | |
const LayerData & | layer_data_ |
The LayerData object we compute statistics about. More... | |
double | min_intensity_ |
Minimum intensity value. More... | |
double | max_intensity_ |
Maximum intensity value. More... | |
double | avg_intensity_ |
Average intensity value. More... | |
double | min_charge_ |
Minimum charge value. More... | |
double | max_charge_ |
Maximum charge value. More... | |
double | avg_charge_ |
Average charge value. More... | |
double | min_quality_ |
Minimum quality value. More... | |
double | max_quality_ |
Maximum quality value. More... | |
double | avg_quality_ |
Average quality value. More... | |
double | min_elements_ |
Minimum number of elements (for consensus features only) More... | |
double | max_elements_ |
Maximum number of elements (for consensus features only) More... | |
double | avg_elements_ |
Average number of elements (for consensus features only) More... | |
Private Member Functions | |
LayerStatisticsDialog () | |
Not implemented. More... | |
Private Attributes | |
Ui::LayerStatisticsDialogTemplate * | ui_ |
Dialog showing statistics about the data of the current layer.
|
protected |
Iterates over features of a feature map.
|
protected |
Iterates over features of a feature map.
|
protected |
Iterates over the meta_stats map.
|
protected |
Iterates over peaks of a spectrum.
LayerStatisticsDialog | ( | PlotWidget * | parent | ) |
Constructor.
|
private |
Not implemented.
|
protected |
Brings the meta values of one meta_interface
(a peak or feature) into the statistics.
|
protected |
Computes the statistics of a consensus feature layer.
|
protected |
Computes the statistics of a feature layer.
|
protected |
Computes the averages of all meta values stored in meta_stats and meta_array_stats.
|
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.
|
protected |
Computes the statistics of a peak layer.
|
protectedslot |
Shows the distribution according to the clicked button.
|
protected |
Average charge value.
|
protected |
Average number of elements (for consensus features only)
|
protected |
Average intensity value.
|
protected |
Average quality value.
|
protected |
The canvas of the layer.
|
protected |
Maximum charge value.
|
protected |
Maximum number of elements (for consensus features only)
|
protected |
Maximum intensity value.
|
protected |
Maximum quality value.
|
protected |
Map containing the statistics about the FloatDataArrays of all spectra in this layer.
Referenced by LayerStatisticsDialog::computeMetaDataArrayStats_().
|
protected |
Map containing the statistics about all meta information of the peaks/features in the layer.
|
protected |
Minimum charge value.
|
protected |
Minimum number of elements (for consensus features only)
|
protected |
Minimum intensity value.
|
protected |
Minimum quality value.
|
private |