ANIMA  4.0
animaFDRCorrection.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 #include "AnimaStatisticalTestsExport.h"
5 
6 namespace anima
7 {
8 
9  // Pair comparison functor
11  {
12  bool operator()(const std::pair<unsigned int,double> & f, const std::pair<unsigned int,double> & s)
13  {
14  return (f.second < s.second);
15  }
16  };
17 
25  ANIMASTATISTICALTESTS_EXPORT void BHCorrection(std::vector <double> &pvalues, double qValue);
26  ANIMASTATISTICALTESTS_EXPORT void BYCorrection(std::vector <double> &pvalues, double qValue);
27 
28 } // end of namespace anima
29 
30 
void BHCorrection(std::vector< double > &pvalues, double qValue)
void BYCorrection(std::vector< double > &pvalues, double qValue)
bool operator()(const std::pair< unsigned int, double > &f, const std::pair< unsigned int, double > &s)