mod test_method

module test_method

Statistical test and correction method selection.

Functions

fn compute_p(method: TestMethod, n_g1: u32, n_g2: u32, total_g1: u32, total_g2: u32) -> f64

Compute p-value using the selected test method.

Enums

enum CorrectionMethod

Which multiple testing correction to apply.

Bonferroni
Fdr
None

Implementations

impl CorrectionMethod

Functions

fn parse_str(s: &str) -> Result<Self, String>
enum TestMethod

Which statistical test to use for sex-marker association.

ChiSquared
Fisher
GTest

Implementations

impl TestMethod

Functions

fn parse_str(s: &str) -> Result<Self, String>