public class FDRUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FDRUtils.AbsoluteValues |
static class |
FDRUtils.CloneArrays |
static class |
FDRUtils.SortArrays |
| Modifier and Type | Method and Description |
|---|---|
static double |
getGlobalThreshold(double[][] real,
double[][][] permuted,
double fdr,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
Returns the threshold value in the whole of given real data matrix that
corresponds to the given false discovery rate against the null
distribution from given permuted data matrices.
|
static double |
getGlobalThreshold(double[][] real,
double[][] permuted,
double fdr,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
Returns the threshold value in the whole of given real data matrix that
corresponds to the given false discovery rate against the null
distribution from given permuted data matrix.
|
static int[] |
getNrSignificant(double[][] data,
double[] thresholds,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a) |
static int[] |
getNrSignificant(double[][] data,
double threshold,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
Calculates the number of significant Z-scores per each row in the given Z-score matrix.
|
static double[] |
getThresholdsPerRow(double[][] real,
double[][][] permuted,
double fdr,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
Returns the threshold values per row in the given real data matrix that
corresponds to the given false discovery rate against the null
distribution from rows of given permuted data matrices.
|
static double[] |
getThresholdsPerRow(double[][] real,
double[][] permuted,
double fdr,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
Returns the threshold values per row in the given real data matrix that
corresponds to the given false discovery rate against the null
distribution from rows of given permuted data matrix.
|
static double[] |
getThresholdsPerRow(double[][] real,
String[] permutedFiles,
double fdr,
double mvp,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a) |
static double |
zToP(double z)
Returns the p-value corresponding to the given Z-score assuming a two tailed-test.
|
public static double getGlobalThreshold(double[][] real,
double[][] permuted,
double fdr,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
real - real data [x][y]permuted - permuted data [x][y]fdr - false discovery rate to findc - should the data be cloned or not (because the arrays are
modified)s - should the data be sorted first or are they already sorteda - should absolute values be usedpublic static int[] getNrSignificant(double[][] data,
double threshold,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
data - a Z-score matrixthreshold - p-value threshold to uses - should the data be sorted first or are they already sorteda - should absolute values be usedpublic static double zToP(double z)
z - A Z-score to convertpublic static double getGlobalThreshold(double[][] real,
double[][][] permuted,
double fdr,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
real - real data [x][y]permuted - permuted data [permutation][x][y]fdr - false discovery rate to findc - should the data be cloned or not (because the arrays are
modified)s - should the data be sorted first or are they already sorteda - should absolute values be usedpublic static double[] getThresholdsPerRow(double[][] real,
double[][] permuted,
double fdr,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
real - real data [x][y]permuted - permuted data [x][y]fdr - false discovery rate to findc - should the data be cloned or not (because the arrays are
modified)s - should the data be sorted first or are they already sorteda - should absolute values be usedpublic static double[] getThresholdsPerRow(double[][] real,
double[][][] permuted,
double fdr,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
real - real data [x][y]permuted - permuted data [permutation][x][y]fdr - false discovery rate to findc - should the data be cloned or not (because the arrays are
modified)s - should the data be sorted first or are they already sorteda - should absolute values be usedpublic static int[] getNrSignificant(double[][] data,
double[] thresholds,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
public static double[] getThresholdsPerRow(double[][] real,
String[] permutedFiles,
double fdr,
double mvp,
FDRUtils.CloneArrays c,
FDRUtils.SortArrays s,
FDRUtils.AbsoluteValues a)
throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.