Developer documentation
Version 3.0.3-105-gd3941f44
MR::Stats::PermTest Namespace Reference

Classes

class  Permutation
 
class  PermutationStack
 
class  PreProcessor
 
class  Processor
 

Typedefs

using value_type = Math::Stats::value_type
 
using vector_type = Math::Stats::vector_type
 
using matrix_type = Math::Stats::matrix_type
 
using count_matrix_type = Eigen::Array< uint32_t, Eigen::Dynamic, Eigen::Dynamic >
 

Functions

void precompute_empirical_stat (const std::shared_ptr< Math::Stats::GLM::TestBase > stats_calculator, const std::shared_ptr< EnhancerBase > enhancer, const default_type skew, matrix_type &empirical_statistic)
 
void precompute_default_permutation (const std::shared_ptr< Math::Stats::GLM::TestBase > stats_calculator, const std::shared_ptr< EnhancerBase > enhancer, const matrix_type &empirical_enhanced_statistic, matrix_type &output_statistics, matrix_type &output_zstats, matrix_type &output_enhanced)
 
void run_permutations (const std::shared_ptr< Math::Stats::GLM::TestBase > stats_calculator, const std::shared_ptr< EnhancerBase > enhancer, const matrix_type &empirical_enhanced_statistic, const matrix_type &default_enhanced_statistics, const bool fwe_strong, matrix_type &perm_dist, count_matrix_type &perm_dist_contributions, matrix_type &uncorrected_pvalues)
 

Typedef Documentation

◆ count_matrix_type

using MR::Stats::PermTest::count_matrix_type = typedef Eigen::Array<uint32_t, Eigen::Dynamic, Eigen::Dynamic>

Definition at line 52 of file permtest.h.

◆ matrix_type

Definition at line 51 of file permtest.h.

◆ value_type

Definition at line 49 of file permtest.h.

◆ vector_type

Definition at line 50 of file permtest.h.

Function Documentation

◆ precompute_default_permutation()

void MR::Stats::PermTest::precompute_default_permutation ( const std::shared_ptr< Math::Stats::GLM::TestBase stats_calculator,
const std::shared_ptr< EnhancerBase enhancer,
const matrix_type empirical_enhanced_statistic,
matrix_type output_statistics,
matrix_type output_zstats,
matrix_type output_enhanced 
)

◆ precompute_empirical_stat()

void MR::Stats::PermTest::precompute_empirical_stat ( const std::shared_ptr< Math::Stats::GLM::TestBase stats_calculator,
const std::shared_ptr< EnhancerBase enhancer,
const default_type  skew,
matrix_type empirical_statistic 
)

◆ run_permutations()

void MR::Stats::PermTest::run_permutations ( const std::shared_ptr< Math::Stats::GLM::TestBase stats_calculator,
const std::shared_ptr< EnhancerBase enhancer,
const matrix_type empirical_enhanced_statistic,
const matrix_type default_enhanced_statistics,
const bool  fwe_strong,
matrix_type perm_dist,
count_matrix_type perm_dist_contributions,
matrix_type uncorrected_pvalues 
)