Compute summary statistics (count/min/max/avg) about a container, e.g. intensity, charge, meta values, ... More...
#include <OpenMS/VISUAL/VISITORS/LayerStatistics.h>
Public Member Functions | |
| virtual | ~LayerStatistics ()=default | 
| Make D'tor virtual for correct destruction from pointers to base.  More... | |
| const StatsMap & | getRangeStatistics () const | 
| get all range statistics, any of which can then be plugged into getDistribution()  More... | |
| const StatsCounterMap & | getCountStatistics () const | 
| obtain count statistics for all meta values which are not numerical  More... | |
| virtual Math::Histogram | getDistribution (const RangeStatsType &which, const UInt number_of_bins=500) const =0 | 
| After computing the overview statistic, you can query a concrete distribution by giving the name of the statistic.  More... | |
Protected Member Functions | |
| virtual void | computeStatistics_ ()=0 | 
| compute the range and count statistics. Call this method in the Ctor of derived classes.  More... | |
| void | bringInMetaStats_ (const MetaInfoInterface *meta_interface) | 
Brings the meta values of one meta_interface (a peak or feature) into the statistics.  More... | |
Protected Attributes | |
| StatsMap | overview_range_data_ | 
| data on numerical values computed during getOverviewStatistics  More... | |
| StatsCounterMap | overview_count_data_ | 
| count data on non-numerical values computed during getOverviewStatistics  More... | |
Compute summary statistics (count/min/max/avg) about a container, e.g. intensity, charge, meta values, ...
      
  | 
  virtualdefault | 
Make D'tor virtual for correct destruction from pointers to base.
      
  | 
  protected | 
Brings the meta values of one meta_interface (a peak or feature) into the statistics. 
      
  | 
  protectedpure virtual | 
compute the range and count statistics. Call this method in the Ctor of derived classes.
Implemented in LayerStatisticsIdent, LayerStatisticsConsensusMap, LayerStatisticsFeatureMap, and LayerStatisticsPeakMap.
      
  | 
  inline | 
obtain count statistics for all meta values which are not numerical
      
  | 
  pure virtual | 
After computing the overview statistic, you can query a concrete distribution by giving the name of the statistic.
| which | Distribution based on which data? | 
| number_of_bins | Number of histogram bins (equally spaced within [min,max] of the distribution) | 
| Exception::InvalidValue | if which is not a valid overview statistic for the underlying data  | 
Implemented in LayerStatisticsIdent, LayerStatisticsConsensusMap, LayerStatisticsFeatureMap, and LayerStatisticsPeakMap.
      
  | 
  inline | 
get all range statistics, any of which can then be plugged into getDistribution()
      
  | 
  protected | 
count data on non-numerical values computed during getOverviewStatistics
      
  | 
  protected | 
data on numerical values computed during getOverviewStatistics