edu.ucla.stat.SOCR.analyses.command.volume
Class FDR

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.command.volume.FDR

public class FDR
extends java.lang.Object


Field Summary
protected  double[] data
           
 
Constructor Summary
FDR(double[] p, double q)
          Create a new FDR object.
 
Method Summary
 double getNThreshold()
           
 double getThreshold()
           
 double[] getThresholdedArray()
           
 double[] getThresholdedArrayNP()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected double[] data
Constructor Detail

FDR

public FDR(double[] p,
           double q)
Create a new FDR object.

Parameters:
p - a double array, the vector of p-values
q - a double, the False Discovery Rate level (e.g., 0.05)
Method Detail

getThreshold

public double getThreshold()
Returns:
p-value threshold based on independence or positive dependence

getThresholdedArray

public double[] getThresholdedArray()
Returns:
Thresholded Array using threshold based on independence or positive dependence

getNThreshold

public double getNThreshold()
Returns:
Nonparametric p-value threshold

getThresholdedArrayNP

public double[] getThresholdedArrayNP()
Returns:
Thresholded Array using Nonparametric p-value threshold