public class MultipleTestCorrection extends Object
FIXME make this API more consistent.
Constructor and Description |
---|
MultipleTestCorrection() |
Modifier and Type | Method and Description |
---|---|
static cern.colt.list.DoubleArrayList |
benjaminiHochberg(cern.colt.list.DoubleArrayList pvalues) |
static cern.colt.matrix.DoubleMatrix1D |
benjaminiHochberg(cern.colt.matrix.DoubleMatrix1D pvalues) |
static double |
benjaminiHochbergCut(cern.colt.list.DoubleArrayList pvalues,
double fdr)
Benjamini-Hochberg method.
|
static double |
BenjaminiYekuteliCut(cern.colt.list.DoubleArrayList pvalues,
double fdr)
Benjamini-Yekuteli method.
|
static double |
BonferroniCut(cern.colt.list.DoubleArrayList pvalues,
double fwe)
Determine the Bonferroni pvalue threshold to maintain the family wise error rate (assuming pvalues are
independent).
|
public static cern.colt.list.DoubleArrayList benjaminiHochberg(cern.colt.list.DoubleArrayList pvalues)
pvalues
- public static cern.colt.matrix.DoubleMatrix1D benjaminiHochberg(cern.colt.matrix.DoubleMatrix1D pvalues)
pvalues;
- can contain missing values or invalid pvalues (outside range [0-1]), which are ignored.public static double benjaminiHochbergCut(cern.colt.list.DoubleArrayList pvalues, double fdr)
pvalues
- list of pvalues. Need not be sorted.fdr
- false discovery rate (value q in B-H).IllegalArgumentException
- if invalid pvalues are encountered.public static double BenjaminiYekuteliCut(cern.colt.list.DoubleArrayList pvalues, double fdr)
pvalues
- list of pvalues. Need not be sorted.fdr
- false discovery rate (value q in B-H).IllegalArgumentException
- if invalid pvalues are encountered.public static double BonferroniCut(cern.colt.list.DoubleArrayList pvalues, double fwe)
pvalues
- The pvaluesfwe
- The family wise error rateCopyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.