OpenMS
LayerStatistics.h File Reference
#include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
#include <OpenMS/CONCEPT/Types.h>
#include <OpenMS/KERNEL/StandardTypes.h>
#include <OpenMS/MATH/STATISTICS/Histogram.h>
#include <OpenMS/VISUAL/INTERFACES/IPeptideIds.h>
#include <array>
#include <map>
#include <string>
#include <variant>
Include dependency graph for LayerStatistics.h:

Go to the source code of this file.

Classes

struct  RangeStats< VALUE_TYPE >
 Struct representing the statistics about a set of values. More...
 
struct  StatsCounter
 a simple counting struct, for non-numerical occurrences of meta-values More...
 
struct  RangeStatsType
 Origin and name of a statistic. More...
 
class  LayerStatistics
 Compute summary statistics (count/min/max/avg) about a container, e.g. intensity, charge, meta values, ... More...
 
class  LayerStatisticsPeakMap
 Computes statistics and distributions for a PeakMap. More...
 
class  LayerStatisticsFeatureMap
 Computes statistics and distributions for a PeakMap. More...
 
class  LayerStatisticsConsensusMap
 Computes statistics and distributions for a PeakMap. More...
 
class  LayerStatisticsIdent
 Computes statistics and distributions for a vector<PeptideIdentifications> More...
 

Namespaces

 OpenMS
 Main OpenMS namespace.
 

Typedefs

using RangeStatsInt = RangeStats< int >
 
using RangeStatsDouble = RangeStats< double >
 
using RangeStatsVariant = std::variant< RangeStatsInt, RangeStatsDouble >
 
using StatsMap = std::map< RangeStatsType, RangeStatsVariant >
 collection of Min/Max/Avg statistics from different sources. Note: must be sorted, i.e. do not switch to unordered_map! More...
 
using StatsCounterMap = std::map< std::string, StatsCounter >
 collection of MetaValues which are not numeric (counts only the number of occurrences per metavalue) More...
 

Enumerations

enum class  RangeStatsSource { CORE , METAINFO , ARRAYINFO , SIZE_OF_STATSSOURCE }
 Where did a statistic come from? Useful for display to user, and for internal dispatch when user requests a more detailed value distribution. More...
 

Variables

static const std::array< const char *,(size_t) RangeStatsSource::SIZE_OF_STATSSOURCE > StatsSourceNames = {"core statistics", "meta values", "data arrays"}
 Names corresponding to elements of enum RangeStatsSource. More...
 

Class Documentation

◆ OpenMS::StatsCounter

struct OpenMS::StatsCounter

a simple counting struct, for non-numerical occurrences of meta-values

Collaboration diagram for StatsCounter:
[legend]
Class Members
size_t counter