adjustp
Summary
This is a crate to perform pvalue adjustments and is inspired by the R function p.adjust.
There are currently only three methods available: Bonferroni, BenjaminiHochberg, and
BenjaminiYekutieli.
This crate gives a single interface for each of these and does not expect the p-values to be presorted before calculating.
Usage
Basic Usage
Here's an example for a Bonferroni correction.
use ;
let pvalues = vec!;
let qvalues = adjust;
assert_eq!;
And another example for a BenjaminiHochberg adjustment.
use ;
let pvalues = vec!;
let qvalues = adjust;
assert_eq!;
And another example for a BenjaminiYekutieli adjustment.
use ;
let pvalues = vec!;
let qvalues = adjust;
assert_eq!;